mirror of
https://github.com/TrentSPalmer/todo_app_flask.git
synced 2024-12-04 13:01:31 -08:00
36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="formContainer">
|
|
<h1>Change Password</h1>
|
|
<form action='' method="post" novalidate>
|
|
{{ form.hidden_tag() }}
|
|
<p>
|
|
{{ form.password.label }}<br>
|
|
{{ form.password(size=24) }}
|
|
{% for error in form.password.errors %}
|
|
<span class="formWarning">[{{error}}]</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.new_password.label }}<br>
|
|
<span class="inputInfo">
|
|
min 15 chars and at least somewhat random
|
|
</span><br>
|
|
{{ form.new_password(size=24) }}
|
|
{% for error in form.new_password.errors %}
|
|
<span class="formWarning">[{{error}}]</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.new_password2.label }}<br>
|
|
{{ form.new_password2(size=24) }}
|
|
{% for error in form.new_password2.errors %}
|
|
<span class="formWarning">[{{error}}]</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p>{{ form.submit() }}</p>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|