Files
fastapi-admin/fastapi_admin/templates/widgets/inputs/input.html
2021-04-25 17:17:21 +08:00

6 lines
299 B
HTML

<div class="form-group mb-3">
<label class="form-label">{{ label }}</label>
<input {% if not null %}required{% endif %} type="{{ input_type }}" class="form-control" name="{{ name }}"
placeholder="{{ placeholder }}" {% if disabled %}disabled{% endif %} value="{{ value }}">
</div>