]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotes/author.html
Fix tag errors found by the new UT
[djsite.git] / quotes / templates / quotes / author.html
index 60dbafa577c45b4cf83ff3ef9354d096b745b5ff..755428644065a441293df000d404ba88d46039c4 100644 (file)
@@ -8,10 +8,12 @@
 
 {% include "quotes/author_notes.html" with author=author %}
 
-<p>All the quotes for {{ author.name }}:<p>
+<p>All the quotes for {{ author.name }}:</p>
 
-{% for quote in author.quote_set.all %}
-  {% include "quotes/display.html" with quote=quote skip_author_notes=True %}
+{% for work in author.work_set.all %}
+  {% for quote in work.quote_set.all %}
+    {% include "quotes/display.html" with quote=quote skip_author_notes=True %}
+  {% endfor %}
 {% endfor %}
 
 {% endblock %}