summaryrefslogtreecommitdiff
path: root/templates/changepw/reset_password_m.html
blob: 7f1749bb2f8f51f382f5589527690f125821b04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 %}