{% csrf_token %} {% for form in filter_forms %} {% if form.fields %} {% endif %} {% endfor %}