{% load i18n %}
<div class="column is-cover">
    {% include 'snippets/book_cover.html' with book=book cover_class='is-h-l is-h-m-mobile' size_mobile='medium' size='large' %}

    <div class="select is-small mt-1 mb-3">
        <select name="{{ book.id }}" aria-label="{% blocktrans with book_title=book.title %}Have you read {{ book_title }}?{% endblocktrans %}">
            <option disabled selected value>{% trans 'Add to your books' %}</option>
            {% for shelf in user_shelves %}
            <option value="{{ shelf.id }}">
                {% if shelf.identifier == 'to-read' %}{% trans "To Read" %}
                {% elif shelf.identifier == 'reading' %}{% trans "Currently Reading" %}
                {% elif shelf.identifier == 'read' %}{% trans "Read" %}
                {% elif shelf.identifier == 'stopped-reading' %}{% trans "Stopped Reading" %}
                {% else %}{{ shelf.name }}{% endif %}
            </option>
            {% endfor %}
        </select>
    </div>
</div>

