{% extends "base_m.html" %} {% block js %} {% endblock %} {% block title %}Change password{% endblock %} {% block header %}

Change password

{% endblock %} {% block content %} {% 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 %} {% endblock %} {% block footer %} Back Log out {% endblock %}