forked from mirrors/bookwyrm
Fixes edit book page
This commit is contained in:
parent
576d0ee189
commit
713391f468
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