Checkbox au DSFR

This commit is contained in:
Kara Diaby 2023-07-10 14:48:33 +02:00 committed by Martin
parent 0ab31ba649
commit 37796b8843
5 changed files with 22 additions and 7 deletions

View file

@ -12,6 +12,14 @@ class Champs::CheckboxChamp < Champs::BooleanChamp
value_with_legacy == TRUE_VALUE
end
def html_label?
false
end
def single_checkbox?
true
end
private
# TODO remove when normalize_checkbox_values is over