Stop batch-add form being overwritten

This commit is contained in:
Joscha 2023-08-17 19:23:04 +02:00
parent fa9cf9d1c5
commit 4478981946
3 changed files with 20 additions and 23 deletions

View file

@ -8,4 +8,16 @@
{% block body %}
<div id="inner">{{ inner|safe }}</div>
<form method="post" action="{{ link_admin_queue_add_batch }}">
<label>
Batch size:
<input type="number" name="amount" value="10" min="1">
</label>
<label>
Priority:
<input type="number" id="priority" name="priority" value="-1" min="-2147483648" max="2147483647">
</label>
<button>Add batch to queue</button>
</form>
{% endblock %}