mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-30 17:46:56 +00:00
7 lines
369 B
Twig
7 lines
369 B
Twig
|
<input type="checkbox" name="{{ html_field_name }}"
|
||
|
{%- if html_field_id is defined %} id="{{ html_field_id }}"{% endif -%}
|
||
|
{%- if checked is defined and checked %} checked="checked"{% endif -%}
|
||
|
{%- if onclick is defined and onclick %} class="autosubmit"{% endif %} /><label
|
||
|
{%- if html_field_id is defined %} for="{{ html_field_id }}"
|
||
|
{%- endif %}>{{ label }}</label>
|