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

23 lines
698 B
Text
Raw Normal View History

2016-02-05 17:40:58 +01:00
- unless smart_listing.empty?
%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
2016-02-09 12:23:49 +01:00
%td{ style: 'text-align:right' }
2016-11-14 17:33:45 +01:00
.delete.btn.btn-sm.fa.fa-trash
.confirm
=link_to 'Valider', admin_gestionnaire_path(id: gestionnaire.id), {method: :delete, class: 'btn btn-sm btn-success'}
2016-11-14 17:33:45 +01: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
Aucun accompagnateur