Merge pull request #747 from mouse-reeve/edit-book-fields

Adds publishers to edit book form
This commit is contained in:
Mouse Reeve
2021-03-16 14:03:49 -07:00
committed by GitHub
3 changed files with 32 additions and 16 deletions

View File

@ -91,7 +91,7 @@
{% blocktrans with date=book.published_date|date:'M jS Y' publisher=book.publishers|join:', ' %}Published {{ date }} by {{ publisher }}.{% endblocktrans %}
{% elif book.published_date %}
{% blocktrans with date=book.published_date|date:'M jS Y' %}Published {{ date }}{% endblocktrans %}
{% else %}
{% elif book.publishers %}
{% blocktrans with publisher=book.publishers|join:', ' %}Published by {{ publisher }}.{% endblocktrans %}
{% endif %}
</p>