demarches-normaliennes/app/views/admin/gestionnaires/_informations.html.haml
2016-02-09 11:01:10 +01:00

5 lines
200 B
Text

-{email: 'Email*'}.each do |key, value|
.form-group{class: ('has-error' if @gestionnaire.errors.messages[key])}
%h4
=value
=f.text_field key, class: 'form-control', placeholder: value