2015-11-16 16:16:08 +01:00
|
|
|
|
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
|