5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-08 22:55:45 +00:00

fixup! fixup! fixup! feat: pedir consentimiento #12795

This commit is contained in:
f 2023-03-28 17:55:46 -03:00
parent 221bab97dc
commit 1444b57161

View file

@ -2,7 +2,7 @@
- 'black-bg'
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-md-6.align-self-center
%h2= t('.sign_up')
%p= t('.help')
@ -47,13 +47,13 @@
- id = "usuarie_#{field}"
- name = "usuarie[#{field}]"
- content = t(".#{field}.label")
- href = t(".#{field}.href", default: '')
- help_content = t(".#{field}.help")
= 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?
= link_to help, href, target: '_blank', rel: 'noopener'
= link_to help_content, href, target: '_blank', rel: 'noopener'
- else
= help
= help_content
.actions
= f.submit t('.sign_up'),