]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotations/tag.html
Initial draft of the quotes app
[djsite.git] / quotes / templates / quotations / tag.html
diff --git a/quotes/templates/quotations/tag.html b/quotes/templates/quotations/tag.html
new file mode 100644 (file)
index 0000000..bf06aff
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends 'quotations/base.html' %}
+
+{% block body %}
+
+
+<h1>{{ tag.tag }}</h1>
+
+<p>All the quotes tagged with {{ tag.tag }}:<p>
+
+{% for quote in tag.quote_set.all %}
+  {% include "quotations/display.html" with quote=quote %}
+{% endfor %}
+
+
+{% endblock %}