demarches-normaliennes/app/views/admin/gestionnaires/_informations.html.haml

6 lines
200 B
Text
Raw Normal View History

2016-02-05 17:40:58 +01:00
-{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