diff --git a/src/servala/frontend/templates/account/login.html b/src/servala/frontend/templates/account/login.html index 6494b6a..3100278 100644 --- a/src/servala/frontend/templates/account/login.html +++ b/src/servala/frontend/templates/account/login.html @@ -6,40 +6,48 @@ {% translate "Sign In" %} {% endblock page_title %} {% endblock html_title %} -{% block card_content %} - {% if SOCIALACCOUNT_ENABLED %} - {% get_providers as socialaccount_providers %} - {% if socialaccount_providers %} - {% for provider in socialaccount_providers %} - {% provider_login_url provider process=process scope=scope auth_params=auth_params as href %} -
- {% csrf_token %} - -
- {% endfor %} - {% endif %} - {% endif %} -
- - - {% translate "Log in with email and password instead" %} - -
- {% url 'account_login' as form_action %} - {% translate "Sign In" as form_submit_label %} - {% include "includes/form.html" %} +{% block content %} +
+
+
+
+ {% if SOCIALACCOUNT_ENABLED %} + {% get_providers as socialaccount_providers %} + {% if socialaccount_providers %} + {% for provider in socialaccount_providers %} + {% provider_login_url provider process=process scope=scope auth_params=auth_params as href %} +
+ {% csrf_token %} + +
+ {% endfor %} + {% endif %} + {% endif %} +
+ + + {% translate "Log in with email and password instead" %} + +
+ {% url 'account_login' as form_action %} + {% translate "Sign In" as form_submit_label %} + {% include "includes/form.html" %} +
+
+
+
-
+ {% endblock content %} diff --git a/src/servala/frontend/templates/frontend/base.html b/src/servala/frontend/templates/frontend/base.html index 80dd44e..ab724f8 100644 --- a/src/servala/frontend/templates/frontend/base.html +++ b/src/servala/frontend/templates/frontend/base.html @@ -32,17 +32,6 @@ {% include "includes/message.html" %} {% endfor %} {% block content %} -
-
- {% block card_header %}{% endblock %} -
-
- {% block card_content %} - {% endblock card_content %} -
-
-
-
{% endblock content %}