Show all authors

This commit is contained in:
Mouse Reeve 2020-12-17 15:14:52 -08:00
parent be43e0772c
commit 3649642653

View file

@ -1 +1 @@
<a href="/author/{{ book.authors.first.id }}" class="author">{{ book.authors.first.name }}</a>
{% for author in book.authors.all %}<a href="/author/{{ author.id }}" class="author">{{ author.name }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}