demarches-normaliennes/app/views/demo/index.html.haml
Xavier J 49217a1b39 - add decorator for procedure and procedures
- add link to procedure on admin procedures list
2015-12-03 15:38:17 +01:00

20 lines
No EOL
411 B
Text

%table.table
%tr
%th{colspan: 4}
%h4 Lien vers les procédures TPS
%tr
%th ID
%th Titre
%th Description
%th Organisation
- @procedures.each do |procedure|
%tr
%td
= procedure.id
%td.col-md-4.col-lg-4
= link_to procedure.libelle, procedure.lien
%td
= procedure.description
%td.col-md-3.col-lg-3
= procedure.organisation