{% csrf_token %} {% block filter %} {% if filterform %}
{{ filterform }}
{% if filtered %}  {% endif %} {% if allow_pdf %}   {% endif %} {% if allow_csv %}   {% endif %}
{% endif %} {% endblock %} {% block sorting %} {% if sortform %}
{{ sortform }}
{% endif %} {% endblock %}
{% block tablebuttons %} {% if tablebuttons %} {% for button in tablebuttons %} {{ button.label }} {% endfor %} {% endif %} {% endblock %} {% if object_list %} {% if paginator %} {% if page_obj.has_other_pages %} {% if page_obj.has_previous %} {% endif %}  page {{ page_obj.number }} of {{ paginator.num_pages }} {% if page_obj.has_next %}   {% endif %} {% endif %}  (total: {{ paginator.count }}) {% endif %} {% endif %}