blessing-skin-server/resources/views/forms/checkbox.twig
2019-12-03 17:03:30 +08:00

11 lines
218 B
Twig

<label for="{{ id }}">
<input
type="checkbox"
{{ value ? 'checked="true"' : '' }}
id="{{ id }}"
name="{{ id }}"
{{ disabled ? 'disabled=disabled' : '' }}
value="true"
> {{ label }}
</label>