forked from mirrors/bookwyrm
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
<form class="field is-grouped is-small" action="/edit-readthrough" method="POST">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="id" value="{{ readthrough.id }}"/>
|
|
<label class="label is-align-self-center mb-0 pr-2" for="progress">Currently at</label>
|
|
<div class="control">
|
|
<div class="field has-addons">
|
|
<div class="control">
|
|
<input
|
|
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Percent read{% endif %}"
|
|
class="input is-small" type="number"
|
|
name="progress" size="3" value="{{ readthrough.progress|default:'' }}">
|
|
</div>
|
|
<div class="control">
|
|
<a class="button is-small is-static">
|
|
{% if readthrough.progress_mode == 'PG' %}
|
|
pages
|
|
{% else %}
|
|
%
|
|
{% endif %}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="control">
|
|
<button class="button is-small px-2" type="submit">Save</button>
|
|
</div>
|
|
</form>
|