astro.tdg/accounts/templates/registration/password_reset_confirm.html

26 lines
879 B
HTML

{% extends 'base.html' %}
{% block content %}
<div>
<h1>Reset your password</h1>
{% if validlink %}
<p>Enter your new password twice.</p>
<form method="post">
{% csrf_token %} {{ form.as_p }}
<input type="submit" value="Change my password"/>
<a href="{% url 'core:homepage' %}">Cancel</a>
</form>
{% else %}
<p>
The password reset link you clicked was invalid. This may mean it has already been used or too much time
has passed since you requested it.
</p>
<p>
If you have not already reset your password successfully, you may request a <a
href="{% url 'password_reset' %}">new password reset.</a>
</p>
{% endif %}
</div>
{% endblock %}