mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 21:41:47 +00:00
7 lines
286 B
Text
7 lines
286 B
Text
![]() |
- 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
|