Files
penracourses/templates/registration/password_reset_confirm.html
T
Ross 33e82e8676 .
2022-06-09 18:15:42 +01:00

23 lines
515 B
HTML

<!-- templates/registration/password_reset_confirm.html -->
{% extends "../base.html" %}
{% block title %}Enter new password{% endblock %}
{% block content %}
{% if validlink %}
<h1>Set a new password!</h1>
<form method="POST">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Change my password">
</form>
{% else %}
<h1>Invalid link</h1>
<p>The password reset link was invalid, possibly because it has already been used. Please request a new password reset.</p>
{% endif %}
{% endblock %}