demarches-normaliennes/app/views/demo/index.html.haml

15 lines
365 B
Text
Raw Normal View History

2015-11-17 18:30:28 +01:00
%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|
2015-11-17 18:30:28 +01:00
%tr
%td.col-md-1.col-lg-1
%td.col-md-4.col-lg-4
= link_to procedure.libelle, "/users/procedure/#{procedure.id}"
2015-11-17 18:30:28 +01:00
%td
= procedure.description