{% load i18n get %} {% with paginer|get:id as paginer_obj %} {% if paginer_obj.params.sort_fields %}
{% endif %} {% if paginer_obj.params.filter_fields %}
{% for filter in paginer_obj.params.filter_fields %} {% with paginer_obj.filter_forms|get:filter as form %} {% if not form.1 or user.is_authenticated %} {{ form.0.as_ul }} {% endif %} {% endwith %} {% endfor %}

{% endif %} {% endwith %}