X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec3ed54f52c0551fab881e2fa6009cdd6469559f..92c4a21dbc8fa9ff9c8d10127b7afffed5341b23:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 22c09cb13..b56759645 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -40,7 +40,7 @@
- {% if book.children.all %} + {% if book_children %}

Utwory składające się na ten utwór:

- {% for book in book.children.all %} -
  • {{ book.title }}
  • +
      + {% for book in book_children %} +
    1. {{ book.short_html }}
    2. {% endfor %} +
    {% endif %}