.forum_message#forum_message{:id => forum_message.id}
  
  
  .left
  
    .user
      -if forum_message.forum_user
      
        =link_to image_tag(forum_avatar_url(forum_message.forum_user), :class => "avatar" ), [:forum, forum_message.forum_user]
      -else
        =image_tag(forum_avatar_url(forum_message.forum_user) , :class => "avatar")

    
    
    
  .right
    .links
      =link_to i(:pencil), edit_forum_forum_message_path(forum_message) if forum_message.forum_user == current_fuser or moderator?
      =link_to i(:"trash-o"), [:forum, forum_message], :data => {:confirm => "Supprimer ce message ?"}, :method => :delete if moderator?
      
    .user
      %h3
        -if forum_message.forum_user

          =link_to forum_message.forum_user.firstname+" "+forum_message.forum_user.name, [:forum, forum_message.forum_user]
        -else
          utilisateur supprimé
        
    .date
      =l forum_message.created_at, :format => :human
    
    
    
    .content=markdown forum_message.description
    
    -if forum_message.updated_at != forum_message.created_at
      %p.edited.alert
        Ce message a été modifié 
        =l forum_message.created_at, :format => :human
    .report
      =link_to ic(:"exclamation-circle")+" Signaler un abus", report_forum_forum_message_path(forum_message), :data => {:confirm => "Si vous confirmez votre signalement, notre équipe de modération vérifiera ce message dans les plus bref délais."}
    .clear
    
  