diff options
Diffstat (limited to 'templates/changepw')
-rw-r--r-- | templates/changepw/change_other.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/changepw/change_other.html b/templates/changepw/change_other.html new file mode 100644 index 0000000..492e98c --- /dev/null +++ b/templates/changepw/change_other.html @@ -0,0 +1,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 %} + |