Newer
Older
%li.message{:class => ("mine" if mine?(post))}
%span.from
= link_to_person post.person
= post.message
%div.time
= link_to "#{time_ago_in_words(post.updated_at)} ago", status_message_path(post)
%div.comments
= render "comments/new_comment", :post => post
%ul.comment_set
- for comment in post.comments
= render "comments/comment", :comment => comment
= link_to 'Destroy', status_message_path(post), :confirm => 'Are you sure?', :method => :delete