blob: e8af7bdd9c43e000804a877b66dc5100ebcd0210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 %}
|