Files
2023-12-18 17:01:13 +01:00

16 lines
383 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Quiz</title>
</head>
<body>
<form method="POST" action="/submit_quiz">
{% for qa in questions_answers %}
<p>{{ qa.index }}. {{ qa.question }}</p>
<input type="text" name="answer{{ qa.index }}" required>
{% endfor %}
<input type="submit" value="Quiz abschicken">
</form>
</body>
</html>