{% extends "registration/registration_base.html" %} {% load i18n %} {% load staticfiles %} {% load widget_tweaks %} {% block title %}{% trans "Change password" %}{% endblock %} {% block main %}
{% include "accounts/settings-tabs.html" with password_change="selected" %}
{% csrf_token %} {% for field in form %}
{{ field.label_tag }} {{ field|add_class:"form-control" }} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{{ field.errors }}
{% endfor %}
{% endblock %} {# This is used by django.contrib.auth #}