Fleshing out area templates, add boulder/route detail templates
[tickle] / tickle / templates / tickle / area_breadcrumb.html
diff --git a/tickle/templates/tickle/area_breadcrumb.html b/tickle/templates/tickle/area_breadcrumb.html
new file mode 100644 (file)
index 0000000..6255c21
--- /dev/null
@@ -0,0 +1,7 @@
+{% if area.parent %}
+  {% include 'tickle/area_breadcrumb.html' with area=area.parent %} >
+{% else %}
+  <a href='{% url "tickle:area-list" %}'>All</a> &gt;
+{% endif %}
+
+<a href='{% url "tickle:area-detail" pk=area.pk %}'>{{ area.name }}</a>