mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 20:11:14 +00:00
Adds html form validator for min value
This commit is contained in:
parent
3db0de3dd4
commit
806b781f15
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<input
|
<input
|
||||||
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Percent read{% endif %}"
|
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Percent read{% endif %}"
|
||||||
class="input is-small" type="number"
|
class="input is-small" type="number" min="0"
|
||||||
name="progress" size="3" value="{{ readthrough.progress|default:'' }}">
|
name="progress" size="3" value="{{ readthrough.progress|default:'' }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="control select is-small">
|
<div class="control select is-small">
|
||||||
|
|
Loading…
Reference in a new issue