diff --git a/templates/book.html b/templates/book.html index be06915..24a5f5c 100644 --- a/templates/book.html +++ b/templates/book.html @@ -200,10 +200,6 @@ function AddAuthorToBook(num) { } -{# -{% set keys = [ 'title', 'bals', 'author', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %} -#} - {% set keys = [ 'title', 'bals', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}

{{page_title}}

@@ -257,6 +253,11 @@ function AddAuthorToBook(num) { {% endif %} + - {% for auth in author_list %} - {% set aname=auth.surname+", "+auth.firstnames %} - - {% endfor %} - - {% set cnt.idx = cnt.idx+1 %} - {% endfor %} - {% if cnt.idx == 0 %} - - {% endif %} - {% else %} {% set rows=4 %} {% if key == "notes" %} @@ -459,6 +427,7 @@ function AddAuthorToBook(num) { {% endblock main_content %} {% if books.child_ref|length %} +{% endif %} {% block script_content %} {% endblock script_content %} -{% endif %}