diff --git a/django/templates/library/detail_quiz.html b/django/templates/library/detail_quiz.html index 17afbc8..f62d2bb 100644 --- a/django/templates/library/detail_quiz.html +++ b/django/templates/library/detail_quiz.html @@ -34,7 +34,8 @@ Quiz kopieren - + + {% if quiz.questions.count != 0 %} @@ -44,7 +45,8 @@ d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /> Spielen - + + {% endif %} diff --git a/django/templates/library/overview_quiz.html b/django/templates/library/overview_quiz.html index 4c27130..97ca65a 100644 --- a/django/templates/library/overview_quiz.html +++ b/django/templates/library/overview_quiz.html @@ -53,15 +53,15 @@
- + {{ form.min_amout_questions }}
- + {{ form.max_amout_questions }}
- + {{ form.user }}
@@ -193,6 +193,7 @@
+ {% if quiz.questions.count != 0 %} @@ -201,6 +202,9 @@ Spielen + {% else %} + Fürs Spielen ist min. 1 Frage nötig! + {% endif %}
@@ -377,6 +381,7 @@
+ {% if quiz.questions.count != 0 %} @@ -385,6 +390,10 @@ Spielen + {% else %} + Fürs Spielen ist min. 1 Frage nötig! + {% endif %} +
@@ -565,6 +574,7 @@
+ {% if quiz.questions.count != 0 %} @@ -573,6 +583,9 @@ Spielen + {% else %} + Fürs Spielen ist min. 1 Frage nötig! + {% endif %}