From a14e6598368e33af945f1f2817802af161a6f81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Sat, 16 Sep 2017 02:56:58 +0200 Subject: [PATCH] Fix blocks relation in templates. --- allauth_ens/templates/account/base.html | 2 ++ allauth_ens/templates/account/login.html | 10 ++++++++++ .../socialaccount/snippets/provider_list.html | 10 ---------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/allauth_ens/templates/account/base.html b/allauth_ens/templates/account/base.html index 4eee6cd..d3b308b 100644 --- a/allauth_ens/templates/account/base.html +++ b/allauth_ens/templates/account/base.html @@ -28,6 +28,8 @@ + {% block extra_js %}{% endblock %} + diff --git a/allauth_ens/templates/account/login.html b/allauth_ens/templates/account/login.html index 5d85370..c29633e 100644 --- a/allauth_ens/templates/account/login.html +++ b/allauth_ens/templates/account/login.html @@ -67,3 +67,13 @@ {% endblock %} + +{% block extra_js %} + +{{ block.super }} + + + +{% endblock %} diff --git a/allauth_ens/templates/socialaccount/snippets/provider_list.html b/allauth_ens/templates/socialaccount/snippets/provider_list.html index 9b7b61e..649b7fc 100644 --- a/allauth_ens/templates/socialaccount/snippets/provider_list.html +++ b/allauth_ens/templates/socialaccount/snippets/provider_list.html @@ -24,13 +24,3 @@ {% endfor %} - -{% block extra_js %} - -{{ block.super }} - - - -{% endblock %}