TDoG-Skin/resources/views/forms/checkbox.twig
2024-08-17 19:13:54 +08:00

11 lines
218 B
Twig
Executable File

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