From 8957771ae1444d03f34b5a61d234e89fe66b8d0a Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 5 Jul 2023 19:45:42 +1000 Subject: [PATCH] fixed bug-40, when adding author//books route, to edit_id.html, I assumed object existed, when creating it did not, now fixed --- BUGs | 4 +--- templates/edit_id_name.html | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUGs b/BUGs index cac0e6a..205ab0f 100644 --- a/BUGs +++ b/BUGs @@ -1,4 +1,4 @@ -#### BUGS (next-38) +#### BUGS (next-41) BUG-7: if you remove a series from a book, it won't appear in the series drop-down if it is the first 'missing' book in that series -- either reset the list, or show all series always? @@ -19,5 +19,3 @@ BUG-37: should allow deleting from 'On Wishlist' as well BUG-38: books on shelf should not show books on Loan BUG-39: Loaned to "info box" is below save, not to the left? (or somehow better anyway, it looks pox now) - -BUG-40: create Author, publisher, genre, condition, covertype all fail with internal server error diff --git a/templates/edit_id_name.html b/templates/edit_id_name.html index b07871a..28ea90a 100644 --- a/templates/edit_id_name.html +++ b/templates/edit_id_name.html @@ -33,7 +33,9 @@ {% endblock main_content %} {% block script_content %} +{% if object %} +{% endif %} {% endblock script_content %}