diff --git a/django/templates/library/detail_quiz.html b/django/templates/library/detail_quiz.html
index d5882da..865a982 100644
--- a/django/templates/library/detail_quiz.html
+++ b/django/templates/library/detail_quiz.html
@@ -253,29 +253,38 @@
{% endif %}
-
- Credits:
+
Credits:
{% if quiz.credits %}
-
- {{ quiz.credits }}
+
+ {{ quiz.credits }}
+ (Credits für das Quiz)
+ {% else %}
+
Keine Credits für das Quizformular vorhanden!
{% endif %}
+
- {% for question in questions %}
- {% if question.credits %}
- -
- {{ question.credits }}
- (Frage: {{ forloop.counter }})
-
- {% endif %}
- {% endfor %}
+ {% regroup questions by credits as grouped_credits %}
+ {% if grouped_credits|length == 1 and not grouped_credits.0.grouper %}
+ - Keine Credits für die Fragen vorhanden!
+ {% else %}
+ {% for question in questions %}
+ {% if question.credits %}
+ -
+ {{ question.credits }}
+ (Frage: {{ forloop.counter }})
+
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+
{% endblock %}