Skip to content
Extraits de code Groupes Projets
_status_message.html.haml 525 octets
Newer Older
  • Learn to ignore specific revisions
  • %li.message{:class => ("mine" if mine?(post))}
      %span.from
    
        = post.message
      %div.time
    
    maxwell's avatar
    maxwell a validé
        = 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