5
0
Fork 0
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:
f 2024-06-03 17:50:30 -03:00
parent d4767457ff
commit ddc80a4006
No known key found for this signature in database

View file

@ -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)}",