Skip to content

Commit 444b1ac

Browse files
committed
[fix] Load CSS in extrastyle template block
Fixes a JS error caused by the override of the extrahead block.
1 parent f0e785a commit 444b1ac

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

openwisp_users/accounts/templates/account/password_change.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
{% load static %}
55

66
{% block title %}{% trans "Change Password" %}{% endblock %}
7-
{% block extrahead %}
8-
<link rel="stylesheet" type="text/css" href="{% static 'openwisp-users/accounts/css/change-password.css' %}" />
9-
{% endblock %}
107

118
{% block extrastyle %}
129
{{ block.super }}
13-
{{ form.media.css }}
10+
<link rel="stylesheet" type="text/css" href="{% static 'openwisp-users/accounts/css/change-password.css' %}" />
1411
{% endblock extrastyle %}
1512

1613
{% block content %}

0 commit comments

Comments
 (0)