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

6 lines
208 B
Text
Raw Normal View History

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