diff --git a/templates/book.html b/templates/book.html index 924ab1f..a29b6ef 100644 --- a/templates/book.html +++ b/templates/book.html @@ -10,17 +10,26 @@
| - - | + {% if cnt.val > 0 %} + {% set str.val=str.val+", "+objects[attr] %} + {% else %} + {% set str.val=str.val+objects[attr] %} + {% endif %} + {% set cnt.val = cnt.val + 1 %} {% endif %} {% endfor %} -