{% extends "base.html" %} {% block content %} {% if form %}
{% csrf_token %} {{ form.as_p}}
{% 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 %}