Adds html form validator for min value

This commit is contained in:
Mouse Reeve 2021-01-22 09:21:58 -08:00
parent 3db0de3dd4
commit 806b781f15

View file

@ -7,7 +7,7 @@
<div class="control">
<input
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:'' }}">
</div>
<div class="control select is-small">