2020-09-30 23:20:50 +00:00
|
|
|
<div class="columns">
|
|
|
|
{% for book in books %}
|
|
|
|
{% if forloop.counter0|divisibleby:"4" %}
|
|
|
|
</div>
|
|
|
|
<div class="columns">
|
2020-09-30 03:44:33 +00:00
|
|
|
{% endif %}
|
2020-09-30 23:20:50 +00:00
|
|
|
<div class="column is-narrow">
|
|
|
|
<div class="box">
|
|
|
|
<a href="/book/{{ book.id }}">
|
|
|
|
{% include 'snippets/book_cover.html' with book=book %}
|
|
|
|
</a>
|
|
|
|
{% include 'snippets/rate_action.html' with user=request.user book=book %}
|
|
|
|
{% include 'snippets/shelve_button.html' with book=book %}
|
2020-09-30 03:44:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-30 23:20:50 +00:00
|
|
|
{% endfor %}
|
2020-09-30 03:44:33 +00:00
|
|
|
</div>
|
|
|
|
|