auto password hash and add help_text in inputs

This commit is contained in:
long2ice
2021-05-06 21:42:39 +08:00
parent 064eceea57
commit 95b41da2b4
7 changed files with 37 additions and 1 deletions

View File

@@ -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>