5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 10:56:09 +00:00
panel/app/views/bootstrap/_custom_checkbox_for_field.haml
f 11a9874afc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: checkbox de bootstrap para recordar la sesión
2023-04-15 17:25:46 -03:00

7 lines
286 B
Plaintext

- content = t("activerecord.attributes.#{field.object_name}.#{name}")
- id = "#{field.object_name}_#{name}"
- name = "#{field.object_name}[#{name}]"
= render 'bootstrap/custom_checkbox', id: id, name: name, content: content, required: local_assigns[:required], value: "1" do
= yield