From b001c31f973706d95291b352e0d32f81a9d3b2af Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 25 Feb 2022 16:54:03 -0800 Subject: [PATCH] Save author along with added edition --- bookwyrm/templates/book/edit/edit_book_form.html | 3 +-- bookwyrm/views/books/edit_book.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/book/edit/edit_book_form.html b/bookwyrm/templates/book/edit/edit_book_form.html index e2d7121f..8fcc07fe 100644 --- a/bookwyrm/templates/book/edit/edit_book_form.html +++ b/bookwyrm/templates/book/edit/edit_book_form.html @@ -126,10 +126,9 @@
{% if book.authors.exists %} {# preserve authors if the book is unsaved #} - {{ form.authors.as_hidden }} +
{% for author in book.authors.all %} - {{ form.authors.as_hidden }}