Skip to content

Commit 89bdbd9

Browse files
committed
Fix admin password change form
1 parent fd99912 commit 89bdbd9

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

material/admin/templates/registration/password_change_form.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "admin/base_site.html" %}
2-
{% load i18n %}
2+
{% load i18n material_form %}
33

44

55
{% block breadcrumbs_items %}
@@ -16,12 +16,6 @@
1616
<div class="card-content">
1717
<span class="card-title"> {{ title }}</span>
1818
<div>
19-
{% if form.errors %}
20-
<p class="errornote">
21-
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
22-
</p>
23-
{% endif %}
24-
2519
<h6>{% 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." %}</h6>
2620
{% with form_label_class="sr-only" form_control_class="floating-label" form_with_placeholder=True %}
2721
{% form %} {% endform %}

0 commit comments

Comments
 (0)