identite: mark the radio buttons as actually required

This commit is contained in:
Pierre de La Morinerie 2020-03-31 16:25:21 +02:00
parent da938d0571
commit 7f629ffca1

View file

@ -17,10 +17,10 @@
= f.label :gender, class: "required"
.radios
%label
= f.radio_button :gender, Individual::GENDER_MALE
= f.radio_button :gender, Individual::GENDER_MALE, required: true
= Individual::GENDER_MALE
%label
= f.radio_button :gender, Individual::GENDER_FEMALE
= f.radio_button :gender, Individual::GENDER_FEMALE, required: true
= Individual::GENDER_FEMALE
.flex