mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-11 09:45:27 +00:00
Merge pull request #2040 from bookwyrm-social/edit-book
Fixes edit book page
This commit is contained in:
commit
f52b8fc028
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
{% if book.authors.exists %}
|
{% if book.authors.exists %}
|
||||||
{# preserve authors if the book is unsaved #}
|
{# preserve authors if the book is unsaved #}
|
||||||
<input type="hidden" name="authors" value="{% for author in book.authors %}{{ author.id }},{% endfor %}">
|
<input type="hidden" name="authors" value="{% for author in book.authors.all %}{{ author.id }},{% endfor %}">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% for author in book.authors.all %}
|
{% for author in book.authors.all %}
|
||||||
<div class="is-flex is-justify-content-space-between">
|
<div class="is-flex is-justify-content-space-between">
|
||||||
|
|
Loading…
Reference in a new issue