2018-01-11 19:04:39 +01:00
|
|
|
- if smart_listing.present?
|
2017-04-12 11:12:05 +02:00
|
|
|
%table.table#liste-gestionnaire
|
2016-02-05 17:40:58 +01:00
|
|
|
%thead
|
|
|
|
%th#libelle= smart_listing.sortable 'Email', 'email'
|
2017-04-06 16:27:23 +02:00
|
|
|
%th
|
2016-02-05 17:40:58 +01:00
|
|
|
|
|
|
|
- @gestionnaires.each do |gestionnaire|
|
|
|
|
%tr
|
2017-04-06 19:58:11 +02:00
|
|
|
%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
|
2016-03-16 10:55:03 +01:00
|
|
|
|
|
|
|
.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' }
|
2017-04-06 19:58:11 +02:00
|
|
|
.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
|
2016-02-19 14:20:18 +01:00
|
|
|
Aucun accompagnateur
|