{% load i18n %} {% load lfs_tags %} {% if show %}
{{ title }} [x]
{% if show_price_filters %}
{% trans "Price" %} {% if price_filters.show_reset %} [x] {% endif %}
{% csrf_token %}
{% endif %} {% if show_product_filters %} {% for property_group in product_filters.number_fields %}
{{ property_group.title }} {% if property_group.show_reset %} [x] {% endif %}
{% csrf_token %}
{% endfor %} {% for property_group in product_filters.select_fields %} {% if property_group.items %}
{{ property_group.title }} {% if property_group.show_reset %} [x] {% endif %}
{% for property in property_group.items %}
{% if property_group.object.is_number_field %} {% if property_group.show_quantity %} {{ property.min|quantity }} - {{ property.max|quantity }} {{ property_group.unit|safe }} ({{ property.quantity }}) {% else %} {{ property.min|quantity }} - {{ property.max|quantity }} {{ property_group.unit|safe }} {% endif %} {% else %} {% endif %}
{% endfor %}
{% endif %} {% endfor %} {% endif %} {% if show_manufacturer_filters %}
{% trans 'Manufacturer' %}
{% for mfilter in manufacturer_filters.items %} {% endfor %}
{% endif %}
{% endif %}