%tr
  %td
    = newsletter.title
  
        
        

  %td{:style => "text-align:right;"}

    =form_tag send_test_admin_newsletter_path(newsletter), :style => "display:inline;" do
      .input-append{:style => "display:inline-block;margin:2px;"}
        = text_field_tag :email,"", :class => ""
        = submit_tag "Envoyer un email de test", :class => "btn btn-default"
  
  %td{:style => "width:180px;text-align:right;"}
    = link_to i(:"trash-o"), [:admin, newsletter], :method => :delete,  :data => {:confirm => 'Voulez-vous vraiment supprimer cette newsletter ?'}
    -if newsletter.block
      = link_to i(:"envelope-o"), select_recipients_admin_newsletter_path(newsletter)
      = link_to i(:pencil), edit_admin_newsletter_path(newsletter)
    = link_to i(:"eye"), admin_newsletter_path(newsletter), :target => "_blank"
    = link_to i(:"bar-chart"), history_admin_newsletter_path(newsletter)