Corrected indentation of #main div in admin base template.

This commit is contained in:
Tom Carrick 2020-05-07 20:44:58 +02:00 committed by Mariusz Felisiak
parent d24ba1be7a
commit 46fe506445
1 changed files with 20 additions and 23 deletions

View File

@ -74,29 +74,26 @@
{% endblock %} {% endblock %}
{% endif %} {% endif %}
<div class="content"> <div class="content">
{% block messages %}
{% block messages %} {% if messages %}
{% if messages %} <ul class="messagelist">{% for message in messages %}
<ul class="messagelist">{% for message in messages %} <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message|capfirst }}</li>
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message|capfirst }}</li> {% endfor %}</ul>
{% endfor %}</ul> {% endif %}
{% endif %} {% endblock messages %}
{% endblock messages %} <!-- Content -->
<div id="content" class="{% block coltype %}colM{% endblock %}">
<!-- Content --> {% block pretitle %}{% endblock %}
<div id="content" class="{% block coltype %}colM{% endblock %}"> {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
{% block pretitle %}{% endblock %} {% block content %}
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %} {% block object-tools %}{% endblock %}
{% block content %} {{ content }}
{% block object-tools %}{% endblock %} {% endblock %}
{{ content }} {% block sidebar %}{% endblock %}
{% endblock %} <br class="clear">
{% block sidebar %}{% endblock %} </div>
<br class="clear"> <!-- END Content -->
</div> {% block footer %}<div id="footer"></div>{% endblock %}
<!-- END Content -->
{% block footer %}<div id="footer"></div>{% endblock %}
</div> </div>
</div> </div>
</div> </div>