1 {% extends 'tickle/base.html' %}
3 {% block tickle_title_name %}All Areas{% endblock %}
4 {% block tickle_header_name %}All Areas{% endblock %}
6 {% block tickle_main %}
7 <ul class='tickle-area-list'>
8 {% for area in area_list %}
11 <a href='{% url "tickle:area-detail" pk=area.pk %}'>{{ area.name }}</a>
14 {% if area.children.count > 0 %}
16 {% for child in area.children.all %}
17 <li><a href='{% url "tickle:area-detail" pk=child.pk %}'>{{ child.name }}</a></li>
22 {% if area.boulders.count > 0 %}
25 {% for boulder in area.boulders.all %}
26 <li>{% include 'tickle/boulder_list_item.html' %}</li>
31 {% if area.routes.count > 0 %}
34 {% for route in area.routes.all %}
35 <li>{% include 'tickle/route_list_item.html' %}</li>