
%tr#mail_content.mail_content{:id => mail_content.id, :class => ("warning" if mail_content.mail_type.mail_type_reference_id)}
  %td
    %strong=mail_content.lang_site.slug
  %td=mail_content.mail_type.slug
  %td
    =#%strong=mail_content.subject
    =simple_format mail_content.message
      
  %td.actions
    -if mail_content.content_type == "blocs" and mail_content.block
      = link_to i(:pencil), edit_admin_mail_content_path(mail_content)
    -else
      = link_to i(:pencil), edit_admin_mail_content_path(mail_content), :data => {:remote => true}
      
    = link_to i(:eye), admin_mail_content_path(mail_content), :target => "_mail_content_#{mail_content.id}"




