%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