demarches-normaliennes/app/views/new_gestionnaire/dossiers/champs/_civilite.html.haml

11 lines
306 B
Text
Raw Normal View History

= render partial: 'new_gestionnaire/dossiers/champs/champ_label', locals: { champ: champ }
%div
%label
= radio_button_tag "champs['#{champ.id}']", "M.", champ.value == 'Mme' ? false : true
Monsieur
%label
= radio_button_tag "champs['#{champ.id}']", "Mme", champ.value == 'Mme'
Madame