diff options
Diffstat (limited to 'app/views/admin/blogs/drafts.html.haml')
| -rw-r--r-- | app/views/admin/blogs/drafts.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
| diff --git a/app/views/admin/blogs/drafts.html.haml b/app/views/admin/blogs/drafts.html.haml new file mode 100644 index 0000000..91d3214 --- /dev/null +++ b/app/views/admin/blogs/drafts.html.haml | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | %table#entries | ||
| 2 | %tr | ||
| 3 | %th Title | ||
| 4 | %th Last updated | ||
| 5 | %th | ||
| 6 | - @blogs.each do |blog| | ||
| 7 | %tr{ class: cycle("even", "odd") } | ||
| 8 | %td= blog.title | ||
| 9 | %td= blog.updated_at.strftime("%B %d, %Y, %l:%M%P") | ||
| 10 | %td= link_to "Edit", edit_admin_blog_url(blog) | ||
