devilbox/.devilbox/www/htdocs/vendor/phpmyadmin-5.0.4/templates/checkbox.twig
2020-11-08 12:56:53 +01:00

7 lines
367 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>