update image input

This commit is contained in:
long2ice
2021-05-06 22:58:49 +08:00
parent fe301a84a6
commit 1d5f8b93ad
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<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 %} value="{{ value }}">
{% if help_text %}
<small class="form-hint">
{{ help_text }}
</small>
{% endif %}
</div>