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

4 lines
221 B
Text

= @form.check_box :value,
{ required: @champ.required?, id: @champ.input_id, checked: @champ.true?, aria: { describedby: @champ.describedby_id }, class: class_names('required' => @champ.required?)},
'true',
'false'