Fix template names
[tickle] / tickle / templates / tickle / boulder_breadcrumb_trail.html
diff --git a/tickle/templates/tickle/boulder_breadcrumb_trail.html b/tickle/templates/tickle/boulder_breadcrumb_trail.html
new file mode 100644 (file)
index 0000000..87efd62
--- /dev/null
@@ -0,0 +1,10 @@
+<nav id='tickle-breadcrumb-trail'>
+  {% include 'tickle/area_breadcrumb.html' with area=boulder.area is_parent=True %}
+  <span class='tickle-breadcrumb-item'>
+    {% if is_parent %}
+      <a href='{% url "tickle:boulder-detail" pk=boulder.pk %}'>{{ boulder.name }}</a>
+    {% else %}
+      {{ boulder.name }}
+    {% endif %}
+  </span>
+</nav>