forked from mirrors/bookwyrm
22 lines
773 B
HTML
22 lines
773 B
HTML
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical">
|
|
<div class="tile">
|
|
{% for book in books %}
|
|
{% if forloop.counter0|divisibleby:"5" %}
|
|
</div>
|
|
<div class="tile">
|
|
{% endif %}
|
|
<div class="tile is-parent is-vertical">
|
|
<article class="tile is-child 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 %}
|
|
</article>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|