demarches-normaliennes/app/views/admin/gestionnaires/_list.html.haml

26 lines
721 B
Text
Raw Normal View History

2016-02-05 17:40:58 +01:00
- unless smart_listing.empty?
%table.table
%thead
%th#libelle= smart_listing.sortable 'Email', 'email'
- @gestionnaires.each do |gestionnaire|
%tr
%td= gestionnaire.email
2016-02-09 12:23:49 +01:00
%td{ style: 'text-align:right' }
%span#destroy{ class: "fa fa-times" }
#confirm
=link_to(admin_gestionnaire_path(id: gestionnaire.id), method: :delete) do
%span#valid{ class: "fa fa-check btn-success" }
%span#valid
Valider
%span
|
%span#cancel{ class: "fa fa-minus btn-danger" }
2016-02-05 17:40:58 +01:00
= smart_listing.paginate
= smart_listing.pagination_per_page_links
- else
%h4.center
Aucun accompagnateur