diff --git a/templates/book.html b/templates/book.html index c085d80..dfa89c7 100644 --- a/templates/book.html +++ b/templates/book.html @@ -37,7 +37,7 @@
{% if books[key] is iterable and books[key] is not string %} -
+
{% set cnt = namespace(idx=0, val=0) %} {% for objects in books[key] %} {% set cnt.val = 0 %} @@ -52,7 +52,7 @@ {% set cnt.val = cnt.val + 1 %} {% endif %} {% endfor %} - + {{str.val}} {% set cnt.idx = cnt.idx+1 %}