mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
12 lines
489 B
HTML
12 lines
489 B
HTML
<div class="form-group mb-3">
|
|
<div class="form-label">{{ label }}</div>
|
|
{% for option in options %}
|
|
<label class="form-check form-check-inline">
|
|
<input type="radio" class="form-check-input" name="{{ name }}" {% if disabled %}disabled{% endif %}
|
|
value="{{ option[1] }}"
|
|
{% if option[1] == value %}checked{% endif %}>
|
|
<span class="form-check-label">{{ option[0] }}</span>
|
|
</label>
|
|
{% endfor %}
|
|
</div>
|