about summary refs log tree commit diff stats
path: root/app/views/admin/blogs/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/blogs/index.html.haml')
-rw-r--r--app/views/admin/blogs/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/blogs/index.html.haml b/app/views/admin/blogs/index.html.haml index 448617a..c5db4f1 100644 --- a/app/views/admin/blogs/index.html.haml +++ b/app/views/admin/blogs/index.html.haml
@@ -1,10 +1,10 @@
1%table#entries 1%table#entries
2 %tr 2 %tr
3 %th Title 3 %th Title
4 %th Date created 4 %th Date published
5 %th 5 %th
6 - @blogs.each do |blog| 6 - @blogs.each do |blog|
7 %tr{ class: cycle("even", "odd") } 7 %tr{ class: cycle("even", "odd") }
8 %td= blog.title 8 %td= blog.title
9 %td= blog.created_at.strftime("%B %d, %Y, %l:%M%P") 9 %td= blog.published_at.strftime("%B %d, %Y, %l:%M%P")
10 %td= link_to "Edit", edit_admin_blog_url(blog) 10 %td= link_to "Edit", edit_admin_blog_url(blog)