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

23 lines
705 B
Text
Raw Normal View History

2018-01-11 19:04:39 +01:00
- if smart_listing.present?
%table.table#liste-gestionnaire
2016-02-05 17:40:58 +01:00
%thead
%th#libelle= smart_listing.sortable 'Email', 'email'
%th
2016-02-05 17:40:58 +01:00
- @gestionnaires.each do |gestionnaire|
%tr
%td{ style: 'padding-top: 11px; font-size: 15px;' }= gestionnaire.email
%td{ style: 'text-align: right;' }
2016-11-14 17:33:45 +01:00
.delete.btn.btn-sm.fa.fa-trash
.confirm
2017-04-06 19:10:25 +02:00
= link_to 'Valider', admin_gestionnaire_path(id: gestionnaire.id), { method: :delete, class: 'btn btn-sm btn-success' }
.cancel.btn.btn-sm.btn-danger.fa.fa-minus{ style: 'top: 0;' }
2016-02-05 17:40:58 +01:00
= smart_listing.paginate
= smart_listing.pagination_per_page_links
- else
%h4.center
Aucun accompagnateur