diff options
Diffstat (limited to 'templates/changepw/reset_password_m.html')
-rw-r--r-- | templates/changepw/reset_password_m.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/changepw/reset_password_m.html b/templates/changepw/reset_password_m.html new file mode 100644 index 0000000..7f1749b --- /dev/null +++ b/templates/changepw/reset_password_m.html @@ -0,0 +1,31 @@ +{% extends "base_m.html" %} +{% block js %}{% endblock %} + +{% block title %}Reset password{% endblock %} + +{% block header %}<h1>Reset password</h1>{% endblock %} + +{% block content %} +{% if not return_value %} + {% if new_password %} + <strong>Username:</strong> {{ username }}/ppp<br /> + <strong>Password:</strong> {{ new_password }} + {% else %} + <form action="{% url resetpw %}" method="post"> + {% csrf_token %} + <input type="submit" value="Reset password" /> + </form> + {% endif %} +{% else %} + <p>Something went wrong. Please contact an administrator.</p> + <p>Return code: {{ return_value }}</p> +{% endif %} +{% endblock %} + +{% block footer %} +<a href="{% url index %}" data-role="button" data-icon="back">Back</a> +<a href="{% url logout %}" rel="external" data-role="button" data-icon="delete">Log out</a> +{% endblock %} + + + |