From 1b9799b4392092cae27b16282994e8650dc6a8c5 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 3 Dec 2020 19:20:02 +1100 Subject: [PATCH] changed publisher link over to a 1-to-many, removed book_publisher_link table, etc. fully works in show books, edit book for publisher now & notes/blurb save too --- templates/books.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/books.html b/templates/books.html index 43b081e..b441306 100644 --- a/templates/books.html +++ b/templates/books.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% block main_content %} +

All Books

@@ -14,7 +15,7 @@ {% endif %} - +
{{book.title}}{{ book.author[0]['surname'] }}, {{book.author[0]['firstnames']}}{{ book.publisher[0]['name']}}{{ GetPublisherById(book.publisher)}} {% set cond = GetConditionById(book.condition) %} {% if cond == "Good" %}