Fleshing out area templates, add boulder/route detail templates
[tickle] / tickle / templates / tickle / pitch_list_item.html
diff --git a/tickle/templates/tickle/pitch_list_item.html b/tickle/templates/tickle/pitch_list_item.html
new file mode 100644 (file)
index 0000000..70e4155
--- /dev/null
@@ -0,0 +1,17 @@
+{% if route.pitches.count > 1 %}
+  <header>
+    <h2>
+      P{{ pitch.order }}
+
+      {% if pitch.name %}
+        {{ pitch.name }}
+      {% endif %}
+    </h2>
+
+    <div>{{ pitch.difficulty }}</div>
+  </header>
+{% endif %}
+
+{% if pitch.notes %}
+  <div>{{ pitch.notes }}</div>
+{% endif %}