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

5 lines
143 B
Text
Raw Normal View History

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