moviewyrm/bookwyrm/templates/get_started/book_preview.html

20 lines
912 B
HTML
Raw Normal View History

2021-04-01 15:20:43 +00:00
{% load i18n %}
<div class="column is-cover">
2021-05-24 14:18:05 +00:00
{% 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">
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 %}">
<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" %}
{% else %}{{ shelf.name }}{% endif %}
</option>
2021-04-01 15:20:43 +00:00
{% endfor %}
</select>
</div>
</div>