get suggested books from shelfbook
This commit is contained in:
parent
a02f380472
commit
ba97870276
2 changed files with 7 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue