More books in suggestions

and show the shelve button
This commit is contained in:
Mouse Reeve 2020-09-30 12:19:23 -07:00
parent f6d754f0c4
commit f196787c16

View file

@ -13,11 +13,14 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% for book in user_books|slice:3 %} {% for book in user_books|slice:5 %}
<div> <div>
<input class="toggle-control" type="radio" name="recent-books" id="book-{{ book.id }}" {% if forloop.first %}checked{% endif %}> <input class="toggle-control" type="radio" name="recent-books" id="book-{{ book.id }}" {% if forloop.first %}checked{% endif %}>
<div class="toggle-content hidden"> <div class="toggle-content hidden">
<div class="block">{% include 'snippets/book_titleby.html' with book=book %}</div> <div class="block">
{% include 'snippets/book_titleby.html' with book=book %}
{% include 'snippets/shelve_button.html' with book=book %}
</div>
{% include 'snippets/create_status.html' with book=book %} {% include 'snippets/create_status.html' with book=book %}
</div> </div>
</div> </div>