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

20 lines
447 B
Text
Raw Normal View History

2015-11-17 18:30:28 +01:00
%table.table
%tr
2015-11-30 10:59:56 +01:00
%th{colspan: 4}
2015-11-17 18:30:28 +01:00
%h4 Lien vers les procédures TPS
%tr
2015-11-30 10:59:56 +01:00
%th ID
2015-11-17 18:30:28 +01:00
%th Titre
%th Description
2015-11-30 10:59:56 +01:00
%th Organisation
- @procedures.each do |procedure|
2015-11-17 18:30:28 +01:00
%tr
2015-11-30 10:59:56 +01:00
%td
= procedure.id
2015-11-17 18:30:28 +01:00
%td.col-md-4.col-lg-4
= link_to procedure.libelle, "/users/dossiers/new?procedure_id=#{procedure.id}"
2015-11-17 18:30:28 +01:00
%td
2015-11-30 10:59:56 +01:00
= procedure.description
%td.col-md-3.col-lg-3
= procedure.organisation