{% if cats|length > 0 %}
    <div class="overflowWrap">
        {% for cat in cats %}

            <div class="row {% if cat.selected %} selected {% endif %}">
                <input type="checkbox" {% if cat.selected %} checked='checked' {% endif %} class="ftick" id="f_cat_{{ cat.id }}_chk" />
                <label for="f_cat_{{ cat.id }}_chk">

                    <a href="{{ cat.url }}" rel="nofollow" class="filterLink js_filterLink" id="f_cat_{{ cat.id }}">{{ cat.name }}
                        {% if settings.FILTER_SHOW_TOTALS %}
                            ({{ cat.total }})
                        {% endif %}
                    </a>

                    <i class="hoverFX"></i>

                </label>
            </div>

        {% endfor %}
    </div>

{% else %}

    <div class="overflowWrap">
		<div class="checkboxRow">
			<a href="" class="flink">No sub categories</a>
		</div>
	</div>

{% endif %}
