{% extends 'base.html' %} {% load django_tables2 %} {% load i18n static fontawesome_5 %} {% block head %} {% comment %} dal documentation (django-autocomplete-light) states using form.media for adding needed scripts. This does not work properly with modal forms, as the scripts are not loaded properly inside the modal. Therefore the script linkages from form.media have been extracted and put inside dal/scripts.html to ensure these scripts are loaded when needed. {% endcomment %} {% include 'dal/scripts.html' %} {% endblock %} {% block body %}
{% if table.title %}

{{ table.title }}

{% if table.subtitle %}
{{ table.subtitle }}
{% endif %} {% endif %}
{% if table.add_new_entries %} {% endif %}
{% comment %} Search input and rpp selector {% endcomment %}
{% comment %} Filter section {% endcomment %}
{% fa5_icon 'filter' %} {% trans 'Filter' %}
{% with table.filter.selection_filter.form as form %} {% include 'filter/query_filter.html' %} {% endwith %}

{% with table.filter.query_filter.form as form %} {% include 'filter/query_filter.html' %} {% endwith %}

{% with table.filter.checkbox_filter.form as form %} {% include 'filter/checkbox_filter.html' %} {% endwith %}

{% comment %} Table section {% endcomment %} {% render_table table %} {% endblock %}