{% extends 'yangsuite/base-cui.html' %} {% block breadcrumbs %}
  • Accounts
  • Password change
  • {% endblock %} {% block page-title %}Changing password for user {{ user.username }}{% endblock %} {% block body %}
    {% csrf_token %}
    {% if form.errors %}

    {% if form.errors.items|length == 1 %} Please correct the error below. {% else %} Please correct the errors below. {% endif %}

    {% endif %}

    Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly.

    {{ form.old_password }} {{ form.old_password.label_tag }}
    {{ form.old_password.errors }}
    {% if form.oldpassword.help_text %} {% endif %}
    {{ form.new_password1 }} {{ form.new_password1.label_tag }}
    {{ form.new_password1.errors }} {{ form.new_password1.help_text|safe }}
    {{ form.new_password2 }} {{ form.new_password2.label_tag }}
    {{ form.new_password2.errors }} {{ form.new_password2.help_text|safe }}
    {% endblock body %}
    {{ form.old_password.help_text|safe }}