19 lines
527 B
HTML
19 lines
527 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Quiz</title>
|
|
</head>
|
|
<body>
|
|
<form method="POST" action="/submit_quiz">
|
|
{% for question in q_a %}
|
|
<p>{{ question.question }}</p>
|
|
<!-- {% for answer in question.answers %}
|
|
<input type="radio" name="question{{ loop.index }}" value="{{ answer }}"> {{ answer }}<br>
|
|
{% endfor %} -->
|
|
<p>{{ question.answer }}</p>
|
|
{% endfor %}
|
|
<input type="submit" value="Quiz abschicken">
|
|
</form>
|
|
</body>
|
|
</html>
|