Checkbox au DSFR
This commit is contained in:
parent
0ab31ba649
commit
37796b8843
5 changed files with 22 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue