]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotes/all.html
Repair the /all/ page
[djsite.git] / quotes / templates / quotes / all.html
diff --git a/quotes/templates/quotes/all.html b/quotes/templates/quotes/all.html
new file mode 100644 (file)
index 0000000..f15296f
--- /dev/null
@@ -0,0 +1,11 @@
+{% extends 'quotes/base.html' %}
+
+{% block title %}All the quotes in the database{% endblock %}
+
+{% block body %}
+
+{% for quote in quotes %}
+  {% include "quotes/display.html" with quote=quote %}
+{% endfor %}
+
+{% endblock %}