2019-07-08 09:08:49 +00:00
|
|
|
{% extends "base.html.j2" %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
2019-07-08 11:56:09 +00:00
|
|
|
<div class="col s12 m8 offset-m2">
|
|
|
|
<div class="card small">
|
2019-07-08 09:08:49 +00:00
|
|
|
<div class="card-content">
|
2019-07-08 11:56:09 +00:00
|
|
|
<span class="card-title">Reset Your Password</span>
|
|
|
|
<form method="POST">
|
|
|
|
{{ form.hidden_tag() }}
|
2019-07-08 13:13:32 +00:00
|
|
|
{% if form.email is defined %}
|
2019-07-08 11:56:09 +00:00
|
|
|
<div class="input-field">
|
|
|
|
{{ form.email(class='validate', type='email') }}
|
|
|
|
{{ form.email.label }}
|
|
|
|
</div>
|
2019-07-08 13:13:32 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if form.password is defined %}
|
|
|
|
<div class="input-field">
|
|
|
|
{{ form.password(class='validate', type='password') }}
|
|
|
|
{{ form.password.label }}
|
|
|
|
{% for error in form.password.errors %}
|
|
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if form.password2 is defined %}
|
|
|
|
<div class="input-field">
|
|
|
|
{{ form.password2(class='validate', type='password') }}
|
|
|
|
{{ form.password2.label }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2019-07-08 11:56:09 +00:00
|
|
|
<div class="card-action">
|
|
|
|
{{ form.submit(class='btn right') }}
|
|
|
|
</div>
|
|
|
|
</form>
|
2019-07-08 09:08:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|