16 lines
383 B
HTML
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>
|