25 lines
471 B
HTML
Executable File
25 lines
471 B
HTML
Executable File
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
{% if validlink %}
|
|
<article class="panel">
|
|
<h1>Reset password</h1>
|
|
<p>Enter a <em>new</em> password below.</p>
|
|
<form method="post" action=".">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
|
|
<input type="submit" value="Reset your password" class="btn">
|
|
</form>
|
|
</article>
|
|
{% else %}
|
|
|
|
<article class="panel">
|
|
<h1 class="error">Password reset failed</h1>
|
|
</article>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|