5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-29 18:36:21 +00:00
panel/app/views/components/_checkbox.haml

7 lines
217 B
Text
Raw Normal View History

-# Componente Checkbox
- local_assigns[:name] ||= id
2024-03-08 16:08:24 +00:00
2024-02-21 16:50:29 +00:00
.custom-control.custom-checkbox
2024-03-08 16:08:24 +00:00
%input.custom-control-input{ type: 'checkbox', id: id, **local_assigns.compact }
2024-02-21 16:50:29 +00:00
%label.custom-control-label{ for: id }= yield