<%= sanitize post.title %>
<% unless hide_edit_links? %>
<%= link_to_unless_current 'Show', post_path(post.blog, post) %> |
<%= link_to_unless_current 'Edit', edit_post_path(post.blog, post) %> |
<%= link_to 'Destroy', post_path(post.blog, post),
:confirm => 'Are you sure?', :method => :delete %>
<% end %>
<%= sanitize post.body %>
Posted <%= time_ago_in_words post.created_at %> ago
<% if post.updated_at != post.created_at %>
Modified <%= time_ago_in_words post.updated_at %> ago
<% end %>