demarches-normaliennes/app/views/shared/dossiers/editable_champs/_civilite.html.haml

11 lines
442 B
Text
Raw Normal View History

%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