%tr#comment_row.comment_row{:id => comment.id, :class => ("warning" if !comment.enabled)} %td -if comment.commentable and comment.commentable_type = "Article" =link_to comment.commentable.title, public_article_path(:id => comment.commentable.slug, :anchor => "comments") %td=comment.pseudo %td=comment.email %td=comment.website %td=simple_format comment.comment %td.actions = link_to i(:"trash-o"), [:admin, comment], :confirm => 'Voulez-vous vraiment supprimer ce commentaire ?', :method => :delete, :remote => true = link_to i(:pencil), edit_admin_comment_path(comment), :remote => true