From 3a099945b5cc3f99cc53970a4e8a6a95ec4cd734 Mon Sep 17 00:00:00 2001 From: nik8 Date: Fri, 14 Mar 2025 18:18:19 +0100 Subject: [PATCH] #fix_28 --- core/templates/library/detail_quiz.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/templates/library/detail_quiz.html b/core/templates/library/detail_quiz.html index d0f6a41..436f9fa 100644 --- a/core/templates/library/detail_quiz.html +++ b/core/templates/library/detail_quiz.html @@ -63,12 +63,14 @@ {% endfor %} {% else %} + {% for option in question.data.options %} + {% if option.is_correct %}

- Richtige Antwort: - - {% if question.data.correct_answer %}Wahr{% else %}Falsch{% endif %} - -

+ Richtige Antwort: + {{ option.value }} +

+ {% endif %} + {% endfor %} {% endif %}