{% extends "base.html" %} {% block js %} {% endblock %} {% block title %}Change password{% endblock %} {% block content %}

Change password

{% if form %}

When thinking of a new password you need to remember to use:

{{ form.non_field_errors }}

{% csrf_token %} {% for field in form %} {% endfor %}
Username:{{ username }}
{{ field.errors }}
{{ field.label_tag }}:{{ field }}
{% else %} {% if return_value == 0 %}

Your password was changed successfully.

{% else %}

Something went wrong. Please contact an administrator.

Return code: {{ return_value }}

{% endif %} {% endif %}

Back
Log out

{% endblock %}