demarches-normaliennes/app/views/shared/dossiers/editable_champs/_civilite.html.haml
Christophe Robillard 23ae528c6b affiche Madame ou Monsieur
mais continue à enregistrer en base Mme ou M.
2020-12-08 21:30:54 +01:00

10 lines
442 B
Text

%fieldset.radios
%legend.mandatory-explanation
Sélectionnez une des valeurs
%label
= form.radio_button :value, Individual::GENDER_FEMALE
= t(Individual::GENDER_FEMALE, scope: 'activerecord.attributes.individual.gender_options')
%label
= form.radio_button :value, Individual::GENDER_MALE
= t('activerecord.attributes.individual.gender_options')[Individual::GENDER_MALE.to_sym] # GENDER_MALE contains a point letter