mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-21 12:01:47 +00:00
fix: no establecer ids vacíos
This commit is contained in:
parent
d4767457ff
commit
ddc80a4006
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
.form-check
|
||||
= hidden_field_tag "#{base}[#{attribute}]", '0', id: ''
|
||||
= hidden_field_tag "#{base}[#{attribute}]", '0', id: nil
|
||||
.custom-control.custom-switch
|
||||
= check_box_tag "#{base}[#{attribute}]", '1', metadata.value,
|
||||
class: "custom-control-input #{invalid(post, attribute)}",
|
||||
|
|
Loading…
Reference in a new issue