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

7 lines
222 B
Text
Raw Normal View History

%label.radio-inline
= radio_button_tag "champs['#{champ.id}']", "M.", champ.value == 'Mme' ? false : true
Monsieur
%label.radio-inline
= radio_button_tag "champs['#{champ.id}']", "Mme", champ.value == 'Mme'
Madame