demarches-normaliennes/app/components/editable_champ/civilite_component/civilite_component.html.haml

11 lines
380 B
Text
Raw Normal View History

%fieldset.radios
%legend.mandatory-explanation
Sélectionnez une des valeurs
%label
= @form.radio_button :value, Individual::GENDER_FEMALE, id: @champ.female_input_id
= Individual.human_attribute_name('gender.female')
%label
= @form.radio_button :value, Individual::GENDER_MALE, id: @champ.male_input_id
= Individual.human_attribute_name('gender.male')