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

5 lines
144 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
= @form.check_box :value,
{ required: @champ.mandatory?, id: @champ.input_id, aria: { describedby: @champ.describedby_id } },
'on',
'off'