Adds keyboard focus to add readthrough form

This commit is contained in:
Mouse Reeve
2021-05-18 09:59:40 -07:00
parent 4adea2114f
commit 7dccce6b1f
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<input type="hidden" name="id" value="{{ readthrough.id }}">
<input type="hidden" name="book" value="{{ book.id }}">
<div class="field">
<label class="label">
<label class="label" tabindex="0" id="add-readthrough-focus">
{% trans "Started reading" %}
<input type="date" name="start_date" class="input" id="id_start_date-{{ readthrough.id }}" value="{{ readthrough.start_date | date:"Y-m-d" }}">
</label>