mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 20:26:22 +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'
|
||||
|
||||
.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'),
|
||||
|
|
Loading…
Reference in a new issue