Files
fastapi-admin/fastapi_admin/templates/widgets/inputs/textarea.html
2021-05-06 21:42:39 +08:00

14 lines
421 B
HTML

<div class="form-group mb-3">
<label class="form-label">{{ label }}</label>
<textarea {% if not null %}required{% endif %} class="form-control" name="{{ name }}"
placeholder="{{ placeholder }}"
{% if disabled %}disabled{% endif %}>
{{ value }}
</textarea>
{% if help_text %}
<small class="form-hint">
{{ help_text }}
</small>
{% endif %}
</div>