Skip to content

Commit 257d07a

Browse files
committed
use number input field for score
1 parent a946112 commit 257d07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ennead/templates/dialogue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h3>{{ task.order_num }}. {{ task.name }}</h3>
5454
<div class="form-group row">
5555
<label for="score-setter" class="col-form-label col-2">Балл:</label>
5656
<div class="col-5">
57-
<input type="text" pattern="\d+(\.\d*)?" name="score" value={{ thread.score }} class="form-control" id="score-setter">
57+
<input type="number" step="any" name="score" value={{ thread.score }} class="form-control" id="score-setter">
5858
</div>
5959
</div>
6060
{% endif %}

0 commit comments

Comments
 (0)