reset component yes no structure

This commit is contained in:
Julie Salha 2023-04-18 14:54:01 +02:00
parent f4ffbbf042
commit f80cccba93

View file

@ -2,14 +2,10 @@
%legend.fr-fieldset__legend.visually-hidden
= t(".legend")
.fr-fieldset__element.fr-fieldset__element--inline
.fr-radio-group
= @form.radio_button :value, false, id: @champ.yes_input_id
%label.fr-label{ for: @champ.yes_input_id }
%label{ for: @champ.yes_input_id }
= @form.radio_button :value, true, id: @champ.yes_input_id
= t(".yes")
.fr-fieldset__element.fr-fieldset__element--inline
.fr-radio-group
%label{ for: @champ.no_input_id }
= @form.radio_button :value, false, id: @champ.no_input_id
%label.fr-label{ for: @champ.no_input_id }
= t(".no")