demarches-normaliennes/app/views/demo/index.html.haml
Xavier J dd09a38bbb User can begin a new dossier with a procedure archived
Administrateur can see archived procedure
2015-11-27 10:39:05 +01:00

15 lines
No EOL
365 B
Text

%table.table
%tr
%th{colspan: 3}
%h4 Lien vers les procédures TPS
%tr
%td
%th Titre
%th Description
- Procedure.all.where(archived: false).each do |procedure|
%tr
%td.col-md-1.col-lg-1
%td.col-md-4.col-lg-4
= link_to procedure.libelle, "/users/procedure/#{procedure.id}"
%td
= procedure.description