demarches-normaliennes/app/views/new_gestionnaire/dossiers/_champs.html.haml

13 lines
350 B
Text
Raw Normal View History

%table.table.vertical.dossier-champs
2017-07-11 16:50:29 +02:00
%tbody
- champs.each do |c|
%tr
- if c.type_champ == "header_section"
%th.header-section{ colspan: 2 }
= c.libelle
- elsif c.type_champ != "explication"
%th.libelle
2017-07-11 16:50:29 +02:00
= "#{c.libelle} :"
%td.rich-text
2017-10-13 14:54:38 +02:00
= sanitize(c.value)