{% for value, label, url, selected, child_selected, children in choices %}
  • {% if children is not None %} {% endif %} {% if selected %} {{ label }} {% else %} {{ label }} {% endif %} {% if children is not None %} {% include "fastview/filters/tree.html" with choices=children level=level|add:1 is_open=selected %} {% endif %}
  • {% endfor %}