X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbe845386fa136ccb8571e50dadb3c882661a59b..92c4a21dbc8fa9ff9c8d10127b7afffed5341b23:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 66a39f548..b56759645 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -39,24 +39,29 @@ {% endif %}
- {% 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 %} @@ -102,5 +107,6 @@ {% endif %} +
    {% endblock %} \ No newline at end of file