mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 00:26:21 +00:00
fixup! feat: pedir consentimiento #12795
This commit is contained in:
parent
fd109d79c3
commit
75a92108f2
1 changed files with 6 additions and 0 deletions
6
app/views/bootstrap/_custom_checkbox.haml
Normal file
6
app/views/bootstrap/_custom_checkbox.haml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- help_id = "#{id}-help"
|
||||
|
||||
.custom-control.custom-checkbox
|
||||
%input.custom-control-input{ id: id, type: 'checkbox', name: name, value: value, required: required }
|
||||
%label.custom-control-label{ for: id, aria: { describedby: help_id } }= content
|
||||
%small.form-text.text-muted{ id: help_id }= yield
|
Loading…
Reference in a new issue