Fix/answer without selected (#104)

* Fix a bug when click clicking next

* Disable autocomplete for name
This commit is contained in:
2026-05-21 20:19:18 +02:00
committed by GitHub
parent d3bb8d7c57
commit 55bbe962c1
10 changed files with 452 additions and 420 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
{% else %}
{% for answer in question.answers %}
<div class="py-1">
<input type="radio" class="btn-check" name="answer" id="answer-{{ loop.index0 }}" autocomplete="off"
<input required="required" type="radio" class="btn-check" name="answer"
id="answer-{{ loop.index0 }}" autocomplete="off"
value="{{ answer.id }}">
<label class="btn btn-outline-secondary" for="answer-{{ loop.index0 }}">{{ answer.text }}</label>
</div>