Skip to content
Browse files

fixed footer, added fixture

  • Loading branch information...
1 parent 9fcb34c commit e618066ca2d9e558dd62727c9e2fd7217dc695bd @tempire committed Apr 17, 2011
Showing with 19 additions and 6 deletions.
  1. BIN nempire.db
  2. +16 −4 t/fixtures/Blog.pl
  3. +3 −2 templates/layouts/default.html.ep
View
BIN nempire.db
Binary file not shown.
View
20 t/fixtures/Blog.pl
@@ -1,13 +1,25 @@
[ Blog => {
- id => 1,
- title => 'Hello!',
- subtitle => 'A subtitle',
+ id => 1,
+ title => 'Hello!',
+ subtitle => 'A subtitle',
created_time => '1302056856',
location => 'Chico, California',
content =>
q|I'm often introduced to new groups of people. Traveling, new contracts, and otherwise just being personable, present situations wherein people must deal with my presence. I make an effort to treat everyone equally, no matter their social or professional position. I make an equal effort to execute appropriate proportions of irreverence; just enough to release the tension that tends to develop in groups of people. It develops because people are cesspools of fear. That fear isn't always immediately apparent; it reveals itself, for the most part, in anger and unmet expectation. Sometimes, no, many times, I am victim to that fear. I can feel it bubbling inside me, coercing me to poise for an impending attack.|,
- tags => [{id => 1, name => 'personal'}, {id => 2, name => 'test'}]
+ tags => [{name => 'personal'}, {name => 'test'}]
+ },
+ Blog => {
+ id => 2,
+ title => 'Tech',
+ subtitle => 'A subtitle',
+ created_time => '1302056856',
+ location => 'Chico, California',
+
+ content =>
+ q|I'm often introduced to new groups of people. Traveling, new contracts, and otherwise just being personable, present situations wherein people must deal with my presence. I make an effort to treat everyone equally, no matter their social or professional position. I make an equal effort to execute appropriate proportions of irreverence; just enough to release the tension that tends to develop in groups of people. It develops because people are cesspools of fear. That fear isn't always immediately apparent; it reveals itself, for the most part, in anger and unmet expectation. Sometimes, no, many times, I am victim to that fear. I can feel it bubbling inside me, coercing me to poise for an impending attack.|,
+
+ tags => [{name => 'tech'}],
}
]
View
5 templates/layouts/default.html.ep
@@ -27,10 +27,11 @@
<div id="main">
<div id="box-top"></div>
- <div id="content">
+ <div id="content">
<%= content %>
+ </div>
- <div id="box-bottom"></div>
+ <div id="box-bottom"></div>
</div>
<div id="footer">

0 comments on commit e618066

Please sign in to comment.
Something went wrong with that request. Please try again.