{% extends "layouts/content-bootstrap.html" %} {% load i18n %} {% load django_tables2 %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content %} {% if form.instance.pk %}

Previewing changes to filter “{{ form.instance.name }}”

{% else %}

Previewing new filter “{{ form.name.value }}”

{% endif %} {% include "dashboard_app/filter_summary.html" with filter_data=form.as_data %}

These are the results matched by your filter.

{% render_table table %}

If this is what you expected, you can {% if form.instance.pk %} to the filter. {% else %} the filter. {% endif %}

Otherwise, you can edit it.

{% csrf_token %}
{% endblock %}