diff --git a/BUGs b/BUGs index 26e4efa..325b5eb 100644 --- a/BUGs +++ b/BUGs @@ -7,5 +7,3 @@ BUG-30: failed to add a book with 2 x same author (need to catch error BUG-31: series does not have 'series_num', so a book in 2 series, means he ordering is not explicit -> NEED TO display them in order of smallest num_books first - -BUG-39: Loaned to "info box" is below save, not to the left? (or somehow better anyway, it looks pox now) diff --git a/templates/book.html b/templates/book.html index 7b55c89..f7ee34e 100644 --- a/templates/book.html +++ b/templates/book.html @@ -203,7 +203,12 @@ function AddAuthorToBook(num) { {% set keys = [ 'title', 'bals', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}

{{page_title}}

-
+ {% if books.loan|length %} +
+
+ {% else %} +
+ {% endif %}
{{ book_form.id }} {{ book_form.csrf_token }} @@ -390,6 +395,7 @@ function AddAuthorToBook(num) {
{{ hiddens.txt|safe }} +
{% if books.loan|length %}
@@ -404,10 +410,13 @@ function AddAuthorToBook(num) {
{% endif %} -
{% if 'Edit' in page_title %} + {% if books.loan|length %} +
+ {% else %}
+ {% endif %} {% if b.parent|length == 0 %}
@@ -423,6 +432,9 @@ function AddAuthorToBook(num) {
{% endif %} + {% if books.loan|length %} +
+ {% endif %}
{% endblock main_content %}