{% extends "avishan/panel/base.html" %} {% load static %} {% block body_start %}
{% include 'avishan/panel/components/navbar.html' with navbar=self.navbar %} {% include 'avishan/panel/components/aside.html' with sidebar=self.sidebar %}

{{ self.page_header_text }}

{% if self.contents|length or messages|length %} {# todo check if have message show it#}
{% if messages|length %}
{% include "avishan/panel/components/messages_list.html" %}
{% endif %} {% for div in self.contents %} {% include 'avishan/panel/components/div_component.html' with div_component=div %} {% endfor %}
{% endif %}
{% endblock body_start %} {% block body_scripts %} {{ block.super }} {% endblock body_scripts %} {% block head_tail %} {% endblock head_tail %}