blob: 492e98c8bf718de391596617634978b3d85fb46a (
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
32
33
34
|
{% extends "base.html" %}
{% block js %}
{% endblock %}
{% block title %}Change other{% endblock %}
{% block content %}
<h2>Change other</h2>
{% if form %}
<p class="error">
{{ form.non_field_errors }}
</p>
<form action="{% url changeother %}" method="post" autocomplete="off">{% csrf_token %}
<table>
{% for field in form %}
<tr>
<td class="fielderrors">{{ field.errors }}</td>
</tr>
<tr>
<th class="formlabel">{{ field.label_tag }}:</th><td class="formfield">{{ field }}</td><td><span class="password_strength"></span></td>
</tr>
{% endfor %}
</table>
<input type="submit" value="Submit" />
</form>
{% else %}
<p>Something went wrong. Please contact an administrator.</p>
<p>Return code: {{ return_value }}</p>
{% endif %}
<p>
<a href="{% url index %}">Back</a><br />
<a href="{% url logout %}">Log out</a>
</p>
{% endblock %}
|