Cleans up ui navigation

This commit is contained in:
Mouse Reeve 2021-04-01 09:46:18 -07:00
parent 19c2c7f67c
commit bb5aec18f1
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<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>
<option disabled selected value>Add to your books</option>
{% for shelf in request.user.shelf_set.all %}
<option value="{{ shelf.id }}">{{ shelf.name }}</option>
{% endfor %}

View file

@ -12,7 +12,7 @@
<h1 class="modal-card-title" id="get-started-header">
{% trans "Getting Started" %}
</h1>
<a href="/" class="delete" aria-label="close"></a>
<a href="/" class="delete" aria-label="{% trans 'Close' %}"></a>
</header>
<section class="modal-card-body">
{% block panel %}{% endblock %}
@ -45,7 +45,7 @@
{% endif %}
</footer>
</div>
<a href="/" class="modal-close is-large" aria-label="close"></a>
<a href="/" class="modal-close is-large" aria-label="{% trans 'Close' %}"></a>
</div>
{% endwith %}
{% endblock %}