mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 20:01:52 +00:00
fixup! fixup! fixup! feat: pedir consentimiento #12795
This commit is contained in:
parent
221bab97dc
commit
1444b57161
1 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
- 'black-bg'
|
- 'black-bg'
|
||||||
|
|
||||||
.row.align-items-center.justify-content-center.full-height
|
.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')
|
%h2= t('.sign_up')
|
||||||
%p= t('.help')
|
%p= t('.help')
|
||||||
|
|
||||||
|
@ -47,13 +47,13 @@
|
||||||
- id = "usuarie_#{field}"
|
- id = "usuarie_#{field}"
|
||||||
- name = "usuarie[#{field}]"
|
- name = "usuarie[#{field}]"
|
||||||
- content = t(".#{field}.label")
|
- content = t(".#{field}.label")
|
||||||
= render 'bootstrap/custom_checkbox', id: id, name: name, content: content, required: required, value: "1" do
|
|
||||||
- href = t(".#{field}.href", default: '')
|
- href = t(".#{field}.href", default: '')
|
||||||
- help = t(".#{field}.help")
|
- help_content = t(".#{field}.help")
|
||||||
|
= render 'bootstrap/custom_checkbox', id: id, name: name, content: content, required: required, value: "1" do
|
||||||
- if href.present?
|
- if href.present?
|
||||||
= link_to help, href, target: '_blank', rel: 'noopener'
|
= link_to help_content, href, target: '_blank', rel: 'noopener'
|
||||||
- else
|
- else
|
||||||
= help
|
= help_content
|
||||||
|
|
||||||
.actions
|
.actions
|
||||||
= f.submit t('.sign_up'),
|
= f.submit t('.sign_up'),
|
||||||
|
|
Loading…
Reference in a new issue