mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-15 11:11:19 +08:00
16 lines
473 B
HTML
16 lines
473 B
HTML
<div class="form-group mb-3">
|
|
<div class="form-label">{{ label }}</div>
|
|
<label class="form-check form-switch">
|
|
<input name="{{ name }}" class="form-check-input" type="checkbox" {% if value %}
|
|
checked
|
|
{% endif %} {% if disabled %}
|
|
disabled
|
|
{% endif %} >
|
|
{% if help_text %}
|
|
<small class="form-hint">
|
|
{{ help_text }}
|
|
</small>
|
|
{% endif %}
|
|
</label>
|
|
</div>
|