12 lines
470 B
Plaintext
12 lines
470 B
Plaintext
{{ block "booleanInput" . }}
|
|
<label for="{{.Name}}"
|
|
{{template "labelStyle"}}>
|
|
{{.Label}}
|
|
</label>
|
|
<input type="checkbox" id="{{.Name}}"
|
|
class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
|
name="{{.Name}}"
|
|
{{ if eq .Value "true" }}checked{{end}}
|
|
/>
|
|
{{ end }}
|