demarches-normaliennes/app/views/users/description/champs/_civilite.html.haml

8 lines
239 B
Text
Raw Normal View History

2017-02-14 14:34:00 +01:00
%div
%label.radio-inline
= radio_button_tag "champs['#{champ.id}']", "M.", champ.value == 'Mme' ? false : true
Monsieur
2017-02-14 14:34:00 +01:00
%label.radio-inline
= radio_button_tag "champs['#{champ.id}']", "Mme", champ.value == 'Mme'
Madame