about summary refs log tree commit diff stats
path: root/app/views/admin/blogs/show.html.haml
blob: b9acd5dcbb5244950c8b0a225c64b3248fa442be (plain) (blame)
1
2
3
4
5
6
- title "Previewing #{@blog.title}"
= render partial: "blogs/blog", object: @blog
%footer#blog-footer
  This draft was last updated on
  = succeed "." do
    %time= @blog.updated_at.strftime("%B #{@blog.updated_at.day.ordinalize}, %Y at %-I:%M:%S%P")