demarches-normaliennes/app/views/admin/procedures/_informations.html.haml

31 lines
812 B
Text
Raw Normal View History

2015-10-26 15:54:20 +01:00
%br
2015-11-04 17:27:01 +01:00
-{libelle: 'Libellé*', description: 'Description*', lien_demarche: 'Lien démarche', organisation: 'Organisation', direction: 'Direction'}.each do |key, value|
.form-group{class: ('has-error' if @procedure.errors.messages[key])}
%h4
=value
=f.text_field key, class: 'form-control', placeholder: value
2015-10-26 15:54:20 +01:00
%br
%label{ style:'font-weight:normal' }
=f.check_box :use_api_carto
Utilisation de l'API Carto
%br
%br
%h3.text-info
2015-10-26 15:54:20 +01:00
Liste des champs à remplir pour un dossier
2015-11-05 11:21:44 +01:00
=render partial: 'admin/procedures/types_de_champ/liste', locals: {f: f}
2015-10-26 15:54:20 +01:00
%br
%br
%h3.text-info
2015-10-26 15:54:20 +01:00
Liste des pièces justificatives à fournir pour un dossier
=render partial: 'admin/procedures/types_de_piece_justificative/liste', locals: {f: f}
%br
%div.small{style:'text-align:right'}
*Attributs obligatoires