forked from Github-Mirrors/canaille
adds progress bar in reset form
This commit is contained in:
parent
1d5c4b9fa9
commit
72fa8a8f03
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ del_button=false
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if field.name == "password1" and field.data|password_strength and not field.errors %}
|
||||
{% if (field.name == "password1" or field.name == "password") and field.data|password_strength and not field.errors %}
|
||||
<div>
|
||||
<p class="progress_bar">{% trans %}Password strength{% endtrans %}</p>
|
||||
<div class="ui indicating progress" data-percent="{{ field.data|password_strength }}">
|
||||
|
|
Loading…
Reference in a new issue