{% endif %}
{% for name in fields %}
{% with field=filter_form|get_item:name %}
@@ -20,9 +22,6 @@
{% endwith %}
{% endfor %}
- {% if not forloop.last %}
-
- {% endif %}
{% empty %}
{# List all non-customfield filters as declared in the form class #}
{% for field in filter_form.visible_fields %}
@@ -35,14 +34,16 @@
{% endfor %}
{% if filter_form.custom_fields %}
{# List all custom field filters #}
-
- {% for name in filter_form.custom_fields %}
-
+
+
+ {% trans "Custom Fields" %}
+
+ {% for name in filter_form.custom_fields %}
{% with field=filter_form|get_item:name %}
{% render_field field %}
{% endwith %}
-