summaryrefslogtreecommitdiff
path: root/templates/changepw/change_password.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/changepw/change_password.html')
-rw-r--r--templates/changepw/change_password.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/changepw/change_password.html b/templates/changepw/change_password.html
new file mode 100644
index 0000000..e8af7bd
--- /dev/null
+++ b/templates/changepw/change_password.html
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+
+{% block content %}
+{% if form %}
+ <form action="/changepw/" method="post">{% csrf_token %}
+ {{ form.as_p}}
+ <input type="submit" value="Submit" />
+ </form>
+{% else %}
+ {% if return_value == 0 %}
+ <p>Your password was changed successfully.</p>
+ {% else %}
+ <p>Something went wrong. Please contact an administrator.</p>
+ <p>Return code: {{ return_value }}</p>
+ {% endif %}
+{% endif %}
+{% endblock %}