{% extends 'frontend/base.html' %} {% load django_bootstrap5 %} {% load django_fast_frontend %} {% block title %}{{ meta.title }}{% endblock %} {% block content %} {% with request.path|split:"/" as segments %}
{% if option.site.title %}

{{ site.title }}

{% endif %} {% if segments.3 %} {% bootstrap_button button_class="btn-outline-primary" button_type="button" content="Back" %} {% endif %}
{% if segments.3 %} {% if option.table.add or option.table.change %} {% include 'frontend/_form.html' %} {% endif %} {% else %} {% if option.site.description %}
{{ site.description }}
{% endif %} {% if option.table.toolbar_button or option.table.add %} {% include 'frontend/_toolbar.html' %} {% endif %} {% if option.table.show %}
{% if option.table.search %} {% include 'frontend/_search.html' %} {% endif %}
{# {% if option.table.filter_sort %}#} {% include "frontend/_filter_sort.html" %} {# {% endif %}#}
{% if option.table.cards %} {% include 'frontend/_cards.html' %} {% else %} {% include 'frontend/_table.html' %} {% endif %} {% include 'frontend/_pagination.html' %} {% endif %} {% endif %} {% endwith %} {% endblock %}