{% extends "collapse.html" %}

{% block collapse_title %}
Sub-Locations<span class='badge'>{{ children|length }}</span>
{% endblock %}

{% block collapse_content %}
<ul class="list-group">
{% for child in children %}
<li class="list-group-item"><a href="{% url 'stock-location-detail' child.id %}">{{ child.name }}</a> - <i>{{ child.description }}</i></li>
    <span class='badge'>{{ child.partcount }}</span>
</li>
{% endfor %}
</ul>
{% endblock %}
{% extends "collapse.html" %}

{% block collapse_title %}
Sub-Locations<span class='badge'>{{ children|length }}</span>
{% endblock %}

{% block collapse_content %}
<ul class="list-group">
{% for child in children %}
<li class="list-group-item"><a href="{% url 'stock-location-detail' child.id %}">{{ child.name }}</a> - <i>{{ child.description }}</i>
    <span class='badge'>{{ child.item_count }}</span>
</li>
{% endfor %}
</ul>
{% endblock %}
Fix display of location list
Fix display of location list
