mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
14 lines
489 B
HTML
14 lines
489 B
HTML
<div class="form-group mb-3">
|
|
<label class="form-label">{{ label }}</label>
|
|
{% if value %}
|
|
<div class="my-2"><img src="{{ value }}"/></div>
|
|
{% endif %}
|
|
<input {% if not null %}required{% endif %} type="{{ input_type }}" class="form-control" name="{{ name }}"
|
|
placeholder="{{ placeholder }}" {% if disabled %}disabled{% endif %}>
|
|
{% if help_text %}
|
|
<small class="form-hint">
|
|
{{ help_text }}
|
|
</small>
|
|
{% endif %}
|
|
</div>
|