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

@@ -2,6 +2,11 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsoneditor@9.4.0/dist/jsoneditor.min.css">
<div class="form-label">{{ label }}</div>
<div id="{{ name }}" class="form-group mb-3"></div>
{% if help_text %}
<small class="form-hint">
{{ help_text }}
</small>
{% endif %}
<input {% if not null %}required{% endif %} type="text" name="{{ name }}" value='{{ value|safe }}' hidden>
<style>
.jsoneditor {