demarches-normaliennes/app/views/admin/procedures/_informations.html.haml
Xavier J 059211755a Front to add TypeDePieceJustificative for a procedure
Back not implement for this commit
2015-10-28 15:55:31 +01:00

44 lines
No EOL
1.3 KiB
Text

%br
.form-group{class: ('has-error' if @procedure.errors.messages[:libelle])}
%h4 Libellé*
=f.text_field :libelle, class: 'form-control', placeholder: 'Libellé'
.form-group{class: ('has-error' if @procedure.errors.messages[:description])}
%h4 Description*
=f.text_area :description, class: 'form-control', placeholder: 'Description'
.form-group{class: ('has-error' if @procedure.errors.messages[:lien_demarche])}
%h4 Lien Démarche
=f.text_field :lien_demarche, class: 'form-control', placeholder: 'Lien Démarche'
.form-group{class: ('has-error' if @procedure.errors.messages[:organisation])}
%h4 Organisation
=f.text_field :organisation, class: 'form-control', placeholder: 'Organisation'
.form-group{class: ('has-error' if @procedure.errors.messages[:direction])}
%h4 Direction
=f.text_field :direction, class: 'form-control', placeholder: 'Direction'
%br
%label{ style:'font-weight:normal' }
=f.check_box :use_api_carto
Utilisation de l'API Carto
%br
%br
%h3.text-info
Liste des champs à remplir pour un dossier
=render partial: 'admin/procedures/types_de_champs/liste', locals: {f: f}
%br
%br
%h3.text-info
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