diff options
| author | hukl <contact@smyck.org> | 2009-07-18 16:38:21 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-07-18 16:38:21 +0200 |
| commit | 6c7fd57a37d48973bc513ceb7a98865b9e9d2365 (patch) | |
| tree | ddb04329cbd43b241d83a3ad2f0f47638bd975d0 | |
| parent | 13511ec58abaf80f5c37656399c3a6fd867ba4b1 (diff) | |
modified _article partial. added more structure and style
| -rw-r--r-- | app/views/custom/partials/_article.html.erb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index 62aa742..9127c7c 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | <div class="teaserruler"> | 1 | <div class="article_partial"> |
| 2 | <hr/> | 2 | <div class="teaser_ruler"></div> |
| 3 | </div> | 3 | <h2><%= link_to page.title, page.public_link %></h2> |
| 4 | 4 | <div class="author_and_date"> | |
| 5 | <h2><%= link_to page.title, page.public_link %></h2> | 5 | <%= date_for_page page %>, <%= author_for_page page %> |
| 6 | <div class="author_and_date"><%= date_for_page page %>, <%= author_for_page page %></div> | 6 | </div> |
| 7 | <p><%= page.abstract %></p> \ No newline at end of file | 7 | <p class="excerpt"><%= page.abstract %></p> |
| 8 | </div> \ No newline at end of file | ||
