2021-04-01 15:20:43 +00:00
|
|
|
{% load i18n %}
|
2021-04-27 15:23:37 +00:00
|
|
|
<div class="column is-cover">
|
|
|
|
{% include 'snippets/book_cover.html' with book=book cover_class='is-h-l is-h-m-mobile' %}
|
|
|
|
|
|
|
|
<div class="select is-small mt-1 mb-3">
|
2021-04-01 15:20:43 +00:00
|
|
|
<select name="{{ book.id }}" aria-label="{% blocktrans with book_title=book.title %}Have you read {{ book_title }}?{% endblocktrans %}">
|
2021-04-01 16:46:18 +00:00
|
|
|
<option disabled selected value>Add to your books</option>
|
2021-04-01 15:20:43 +00:00
|
|
|
{% for shelf in request.user.shelf_set.all %}
|
|
|
|
<option value="{{ shelf.id }}">{{ shelf.name }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|