summaryrefslogtreecommitdiff
path: root/sbhs/templates/account/registration/password_reset_confirm.html
diff options
context:
space:
mode:
Diffstat (limited to 'sbhs/templates/account/registration/password_reset_confirm.html')
-rw-r--r--sbhs/templates/account/registration/password_reset_confirm.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/sbhs/templates/account/registration/password_reset_confirm.html b/sbhs/templates/account/registration/password_reset_confirm.html
new file mode 100644
index 0000000..020529a
--- /dev/null
+++ b/sbhs/templates/account/registration/password_reset_confirm.html
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+
+{% block title %}Reset your password{% endblock %}
+
+{% block content %}
+ <div class = "container">
+ <h1>Reset your password</h1>
+ {% if validlink %}
+ <p>Please enter your new password twice:</p>
+ <form action="." method="post">
+ {{ form.as_p }}
+ {% csrf_token %}
+ <p><input type="submit" class = "btn btn-inverse" value="Change my password" /></p>
+ </form>
+ {% else %}
+ <p>The password reset link was invalid, possibly because it has already been used. Please request a new password reset.</p>
+ {% endif %}
+ </div>
+
+{% endblock %}