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
|
2015-10-27 17:31:08 +01:00
|
|
|
%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-27 17:31:08 +01:00
|
|
|
|
2015-10-26 15:54:20 +01:00
|
|
|
%br
|
|
|
|
%br
|
2015-10-27 17:31:08 +01:00
|
|
|
%h3.text-info
|
2015-10-26 15:54:20 +01:00
|
|
|
Liste des pièces justificatives à fournir pour un dossier
|
2015-10-26 16:48:41 +01:00
|
|
|
|
2015-10-28 15:55:31 +01:00
|
|
|
=render partial: 'admin/procedures/types_de_piece_justificative/liste', locals: {f: f}
|
2015-10-26 16:48:41 +01:00
|
|
|
|
|
|
|
%br
|
|
|
|
%div.small{style:'text-align:right'}
|
|
|
|
*Attributs obligatoires
|