{% load i18n static context %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} {% block title %}{% endblock %} {% block stylesheet %} {% with VERSION='VERSION'|get_context %} {% with href="/django_admin_tailwind/"|add:VERSION|add:'/css/base.css' %} {% endwith %} {% endwith %} {% endblock %} {% comment %} Tailwind purge class: - errorlist - vIntegerField {% endcomment %} {% if not is_popup and is_nav_sidebar_enabled %} {% comment %}{% endcomment %} {% endif %} {% block extrastyle %}{% endblock %} {#{% if LANGUAGE_BIDI %}{% endif %}#} {% block extrahead %}{% endblock %} {% block responsive %} {% comment %}{% endcomment %} {% comment %}{% if LANGUAGE_BIDI %}{% endif %}{% endcomment %} {% endblock %} {% block blockbots %} {% endblock %}
{% if not is_popup %} {% block header %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% endif %}
{% if not is_popup and is_nav_sidebar_enabled %} {% block nav-sidebar %} {% include "admin/nav_sidebar.html" %} {% endblock %} {% endif %} {% block messages %} {% if messages %}
{% for message in messages %}
{% if 'success' in message.tags %} {% elif 'error' in message.tags %} {% elif 'warning' in message.tags %} {% endif %}

{{ message }}

{% if message.extra_tags %}

{{ message.extra_tags }}

{% endif %}
{% if forloop.counter0 == 0 %}
{% endif %}
{% endfor %}
{% endif %} {% endblock messages %}
{% block pretitle %}{% endblock %} {% block content_title %}
{% if title %}

{{ title }}

{% endif %} {% block content_subtitle %} {% if subtitle %}

{{ subtitle }}

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