X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/e01cec52e391ee93340d8b0884f9c046e6ad4144..3a65fcbfa423d5627e41c2f9e17c464d4a594087:/src/accounts/templates/registration/password_change_form.html diff --git a/src/accounts/templates/registration/password_change_form.html b/src/accounts/templates/registration/password_change_form.html new file mode 100644 index 0000000..c968ee5 --- /dev/null +++ b/src/accounts/templates/registration/password_change_form.html @@ -0,0 +1,39 @@ +{% extends "account/base.html" %} +{% load i18n static %} + +{% block title %}{{ title }}{% endblock %} + + +{% block menu %} + {% with menu='password' %} + {{ block.super }} + {% endwith %} +{% endblock %} + + +{% block accounts-content %} +

{{ title }}

+ +
+ {% csrf_token %} + {% if form.errors %} +

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

+ {% endif %} + +

{% trans "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.as_p }} + +

+ +

+ +
+ +{% endblock %}