46 lines
643 B
HTML
46 lines
643 B
HTML
---
|
|
id:
|
|
type: 'string'
|
|
label_title:
|
|
type: 'string'
|
|
default: ''
|
|
class:
|
|
type: 'string'
|
|
default: ''
|
|
value:
|
|
type: 'string'
|
|
required:
|
|
type: 'bool'
|
|
default: false
|
|
autofocus:
|
|
type: 'bool'
|
|
default: false
|
|
name:
|
|
type: 'string'
|
|
aria_label:
|
|
type: 'string'
|
|
default: ''
|
|
attributes:
|
|
type: 'string'
|
|
default: ''
|
|
---
|
|
|
|
<div class="form-check">
|
|
{%
|
|
render 'forms/input.html',
|
|
type: 'checkbox',
|
|
id:,
|
|
class: 'form-check-input',
|
|
required:,
|
|
autofocus:,
|
|
name:,
|
|
value:,
|
|
aria_label:,
|
|
attributes:
|
|
%}
|
|
{%- block 'forms/label.html' ,id: , class:'' -%}
|
|
{{ label_title }}
|
|
{%- endblock -%}
|
|
</div>
|
|
|