{% for title, spec, selected in filters %}
  • {{ title|capfirst }}
    {{ selected|truncatechars:20 }}
      {% for choice in spec %}
    • {{ choice.display|escape|truncatechars:50 }}
    • {% endfor %}
  • {% if forloop.last %}
  •  
  • {{ paginator.count }} item{{ paginator.count|pluralize }} {% if has_filters %} {% endif %}
  • {% endif %} {% endfor %}