2016-01-07 11:41:03 +01:00
|
|
|
- unless smart_listing.empty?
|
|
|
|
%table.table
|
|
|
|
%tr
|
2017-04-06 19:10:25 +02:00
|
|
|
%th{ colspan: 4 }
|
2016-01-07 11:41:03 +01:00
|
|
|
%h4 Lien vers les procédures TPS
|
|
|
|
%tr
|
|
|
|
%th= smart_listing.sortable 'ID', 'id'
|
|
|
|
%th= smart_listing.sortable 'Titre', 'libelle'
|
|
|
|
%th Description
|
2017-04-26 15:11:50 +02:00
|
|
|
%th= smart_listing.sortable 'Organisme', 'organisation'
|
2016-01-07 11:41:03 +01:00
|
|
|
|
|
|
|
- smart_listing.collection.each do |procedure|
|
|
|
|
- procedure = procedure.decorate
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= procedure.id
|
2017-02-14 17:08:14 +01:00
|
|
|
%td.col-xs-4
|
2016-01-07 11:41:03 +01:00
|
|
|
= link_to procedure.libelle, procedure.lien
|
|
|
|
%td
|
|
|
|
= procedure.description
|
2017-02-14 17:08:14 +01:00
|
|
|
%td.col-xs-3
|
2016-01-07 11:41:03 +01:00
|
|
|
= procedure.organisation
|
|
|
|
|
|
|
|
= smart_listing.paginate
|
|
|
|
= smart_listing.pagination_per_page_links
|
|
|
|
- else
|
2017-04-04 15:27:04 +02:00
|
|
|
%p Aucune procédure trouvée
|