.qi_header
  .right
    =link_to "récupérer le fichier CSV", export_csv_admin_registrants_path, :class => "btn"
    = link_to 'Ajouter un inscrit', new_admin_registrant_path(), :class => "btn btn-primary", :remote => true
  %h1 

    Inscrits à la newsletter
    
.qi_row
  .qi_pannel.qi_plain.padding
    .header
      %p
        =form_tag "?", :method => :get do
          Email :
          =text_field_tag :email, params[:email]
          =submit_tag "Rechercher"


    %table.stat_table.table.table-striped
      %tr
        %th Nom
    
        %th
    

      %tbody#registrants_rows
        =render @registrants
    
    .qi_pagination
      = paginate @registrants #, :remote => true 
    
      