From 221bab97dcda938cb585456cb803aa95b78f8ff7 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 28 Mar 2023 17:39:17 -0300 Subject: [PATCH] fixup! fixup! feat: pedir consentimiento #12795 --- app/views/devise/registrations/new.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/devise/registrations/new.haml b/app/views/devise/registrations/new.haml index eab4a870..de8879da 100644 --- a/app/views/devise/registrations/new.haml +++ b/app/views/devise/registrations/new.haml @@ -47,7 +47,7 @@ - id = "usuarie_#{field}" - name = "usuarie[#{field}]" - content = t(".#{field}.label") - = render 'bootstrap/custom_checkbox', id: id, name: name, content: content, required: required do + = render 'bootstrap/custom_checkbox', id: id, name: name, content: content, required: required, value: "1" do - href = t(".#{field}.href", default: '') - help = t(".#{field}.help") - if href.present?