<%= 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 %>
<%= render :partial => "comments/comment", :collection => post.comments %>
<% if logged_in? %>
<%= link_to_remote "Add a comment", :url => new_comment_path(post.blog, post), :method => :get %>
<% end %>