%tr#newsletter_row.newsletter_row{:id => newsletter.id, :class => ("warning" if !newsletter.enabled)}
  
  %td{:style => "width:200px"}= l(newsletter.published_at, :format => :date) if newsletter.published_at?
  %td=newsletter.title
  
  %td{:style => "width:300px;"}
    -newsletter.tags.order(:name).each do |tag|
      .tag_label=tag.name



  %td{:style => "width:140px"}
    = link_to i(:trash), [:admin, newsletter], :confirm => 'Voulez-vous vraiment supprimer cet newsletter ?', :method => :delete, :remote => true
    
    = link_to i(:pencil), edit_admin_newsletter_path(newsletter), :style => "padding:0px 0px 0px 0px;", :remote => true
    = link_to i(:info), edit_admin_newsletter_path(newsletter), :style => "padding:0px 0px 0px 0px;"
    
    =link_to i(:"level-down"), admin_newsletter_path(:id => newsletter.id, :format => "js"), :class => "set_tag"
    
  

  
