From 46fe506445666d8097945f0c1e8be11cfd644b28 Mon Sep 17 00:00:00 2001 From: Tom Carrick Date: Thu, 7 May 2020 20:44:58 +0200 Subject: [PATCH] Corrected indentation of #main div in admin base template. --- .../contrib/admin/templates/admin/base.html | 43 +++++++++---------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 61b5a13d74..00454ade9d 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -74,29 +74,26 @@ {% endblock %} {% endif %}
- - {% block messages %} - {% if messages %} - - {% endif %} - {% endblock messages %} - - -
- {% block pretitle %}{% endblock %} - {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} - {% block content %} - {% block object-tools %}{% endblock %} - {{ content }} - {% endblock %} - {% block sidebar %}{% endblock %} -
-
- - - {% block footer %}{% endblock %} + {% block messages %} + {% if messages %} + + {% endif %} + {% endblock messages %} + +
+ {% block pretitle %}{% endblock %} + {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} + {% block content %} + {% block object-tools %}{% endblock %} + {{ content }} + {% endblock %} + {% block sidebar %}{% endblock %} +
+
+ + {% block footer %}{% endblock %}