get suggested books from shelfbook

This commit is contained in:
Mouse Reeve
2020-11-06 20:51:11 -08:00
parent a02f380472
commit ba97870276
2 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<div class="tabs is-small">
<ul>
{% for shelf in suggested_books %}
{% if shelf.books.count %}
{% if shelf.books %}
{% with shelf_counter=forloop.counter %}
<li>
<p>{{ shelf.name }}</p>