30 lines
947 B
HTML
30 lines
947 B
HTML
{% extends "base.html" %}
|
|
{% block main %}
|
|
<div id="login">
|
|
{% if linkvalid%}
|
|
<form class="form" action="{{ url_for('resetpassword', path=path) }}" method="post">
|
|
{{ resetpasswordform.csrf_token }}
|
|
<fieldset class="required">
|
|
{{ resetpasswordform.password.label }}
|
|
{{ resetpasswordform.password }}
|
|
{% for message in resetpasswordform.password.errors %}
|
|
<div class="error">{{ message }}</div>
|
|
{% endfor %}
|
|
</fieldset>
|
|
<fieldset class="required">
|
|
{{ resetpasswordform.confirmpassword.label }}
|
|
{{ resetpasswordform.confirmpassword }}
|
|
{% for message in resetpasswordform.confirmpassword.errors %}
|
|
<div class="error">{{ message }}</div>
|
|
{% endfor %}
|
|
</fieldset>
|
|
<fieldset class="button required">
|
|
{{ resetpasswordform.submit }}
|
|
</fieldset>
|
|
</form>
|
|
{% else %}
|
|
<h3>Password reset link no longer valid.</h3>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock main %}
|