mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
auto password hash and add help_text in inputs
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
<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 }}"
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user