X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f421853fd43fe24de22e1be4dfcddaf65e80dccf..92c4a21dbc8fa9ff9c8d10127b7afffed5341b23:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index e6b5eb001..b56759645 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -54,12 +54,14 @@ - {% 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 %}