make the 'male' field selected by default during identity creation
This commit is contained in:
parent
1bdc0836a6
commit
a34b45e4f4
5 changed files with 14 additions and 2 deletions
|
@ -12,8 +12,16 @@
|
|||
%span.mandatory *
|
||||
champs requis
|
||||
|
||||
= f.label :gender, class: "required"
|
||||
= f.select :gender, [Individual::GENDER_MALE, Individual::GENDER_FEMALE], {}, class: "small"
|
||||
%fieldset
|
||||
%legend
|
||||
= f.label :gender, class: "required"
|
||||
.radios
|
||||
%label
|
||||
= f.radio_button :gender, Individual::GENDER_MALE
|
||||
= Individual::GENDER_MALE
|
||||
%label
|
||||
= f.radio_button :gender, Individual::GENDER_FEMALE
|
||||
= Individual::GENDER_FEMALE
|
||||
|
||||
.flex
|
||||
.inline-champ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue