Adds html form validator for min value
This commit is contained in:
@ -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">
|
||||||
|
Reference in New Issue
Block a user