a2f4281f21
split procedure into 3 screen desactivate order place for type de champ desactivate features test to rewrite them use ajax instead of pure js to manage type de champ
14 lines
426 B
Text
14 lines
426 B
Text
|
|
%br
|
|
|
|
-{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
|
|
|
|
%br
|
|
|
|
%label{ style:'font-weight:normal' }
|
|
=f.check_box :use_api_carto
|
|
Utilisation de l'API Carto
|