Display tweaks

This commit is contained in:
Mouse Reeve
2021-04-01 08:20:43 -07:00
parent d5d4582ed1
commit c9fdec33c4
3 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
{% load i18n %}
<div class="column is-narrow is-clipped has-text-centered">
{% include 'snippets/book_cover.html' with book=book %}
<label class="label" for="id_shelve_{{ book.id }}">
<div class="select is-small">
<select name="{{ book.id }}" aria-label="{% blocktrans with book_title=book.title %}Have you read {{ book_title }}?{% endblocktrans %}">
<option value="">-</option>
{% for shelf in request.user.shelf_set.all %}
<option value="{{ shelf.id }}">{{ shelf.name }}</option>
{% endfor %}
</select>
</div>
</div>