From ddc80a4006d69cb7c9ee2b01f30ad03d940e05ca Mon Sep 17 00:00:00 2001 From: f Date: Mon, 3 Jun 2024 17:50:30 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20no=20establecer=20ids=20vac=C3=ADos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/attributes/_boolean.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/attributes/_boolean.haml b/app/views/posts/attributes/_boolean.haml index e07feca4..6928ebd7 100644 --- a/app/views/posts/attributes/_boolean.haml +++ b/app/views/posts/attributes/_boolean.haml @@ -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)}",