{% extends 'base.html' %} {% block title %}{{ title }} | Learning management system{% endblock title %} {% load crispy_forms_tags %} {% load static %} {% block content %} {% if messages %} {% for message in messages %} {% if message.tags == 'error' %}
{{ message }}
{% else %}
{{ message }}
{% endif %} {% endfor %} {% endif %}

Change Password


{% csrf_token %}
{{ form.old_password }} {{ form.old_password.errors }}

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

{{ form.new_password1 }} {{ form.new_password1.errors }}

Your password can't be too similar to your other personal information.
Your password must contain at least 8 characters.
Your password can't be a commonly used password.
Your password can't be entirely numeric.

{{ form.new_password2 }} {{ form.new_password2.errors }}

Enter the same password as before, for verification.


{% endblock content %}