diff --git a/templates/admin/users.html b/templates/admin/users.html index bfaa927..3bf7592 100644 --- a/templates/admin/users.html +++ b/templates/admin/users.html @@ -181,8 +181,6 @@ function openEditUser(u) { openModal('modal-edit-user'); } -attachPasswordStrength('create-user-pw', 'create-user-pw-fill', 'create-user-pw-label'); - document.querySelectorAll('.js-send-reset').forEach(function(btn) { btn.addEventListener('click', function() { var username = btn.dataset.username; @@ -213,3 +211,4 @@ document.querySelectorAll('.js-send-reset').forEach(function(btn) { }); {% endblock %} +{% block scripts %}{% endblock %} diff --git a/templates/base.html b/templates/base.html index c0bebce..c015e1b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -87,5 +87,6 @@ + {% block scripts %}{% endblock %} diff --git a/templates/change_password.html b/templates/change_password.html index 7fd152c..f4daeeb 100644 --- a/templates/change_password.html +++ b/templates/change_password.html @@ -28,5 +28,5 @@ - {% endblock %} +{% block scripts %}{% endblock %}