{{ title }}: {% if subtitle %}{{ subtitle }}{% endif %}
{# To include a create form, exposed via modal, include create_form (dict) in the context of your view. The create_from must include modal_name and link_title fields #}
{% if create_form %}
{% if allow_create_groups and request.user|in_any_group:allow_create_groups %}
{% if create_form.link_title %} {{ create_form.link_title }} {% endif %}
{% endif %}
{% endif %}
{# To include a filter form, exposed via modal, include filter_form (dict) in the context of your view. The filter_from must include modal_name and link_title fields #}
{% if filter_form %}
{% if filter_form.link_title %} {{ filter_form.link_title }} {% endif %}
{% if filter_form.undo and request.META.QUERY_STRING %}
{% endif %}
{% endif %}
{% include table %}
{% if page_obj.has_other_pages %}
{% if page_obj.has_previous %}
{% else %}
{% endif %}
{% for page_number in page_obj.adjusted_elided_pages %}
{% if page_number == page_obj.paginator.ELLIPSIS %}
{{ page_obj.paginator.ELLIPSIS }}
{% else %}
{% if page_obj.number == page_number %}
{% endif %}
{% endif %}
{% include 'handyhelpers/component/modals.htm' %}
{# include generic modal form for the create object form if passed from the view #}
{% with create_form as form_data %}
{% include 'handyhelpers/generic/generic_modal_form.htm' %}
{% endwith %}
{# include generic modal form for the filter object form if passed from the view #}
{% with filter_form as form_data %}
{% include 'handyhelpers/generic/generic_modal_form.htm' %}
{% endwith %}
{# include custom modal html/js template if passed in from the view #}
{% if modals %}
{% include modals %}
{% endif %}
{# block for additional static content #}
{% block additional_static %}
{% if add_static %}
{{ add_static|safe }}
{% endif %}
{% endblock additional_static %}
{# block for additional template content #}
{% block additional_template %}
{% if add_template %}
{% include add_template %}
{% endif %}
{% endblock additional_template %}