From 350d0719f59de5963ed5b92ad7498b29ae19bd6b Mon Sep 17 00:00:00 2001 From: Piotr Kopycki Date: Fri, 21 Jan 2022 17:25:50 +0100 Subject: [PATCH] Test view fix --- static/style.css | 1 + templates/generic_test.html | 35 +++++++++++++++++------------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/static/style.css b/static/style.css index d205180..6b42677 100644 --- a/static/style.css +++ b/static/style.css @@ -316,6 +316,7 @@ background-color:#FF0B7E } .testContent{ + padding-top: 15px; padding-bottom: 15px; padding-left: 20px; } diff --git a/templates/generic_test.html b/templates/generic_test.html index 91bef0e..654091e 100644 --- a/templates/generic_test.html +++ b/templates/generic_test.html @@ -28,27 +28,26 @@
{{ test.name }}
- {% for question in test.questions.all %} - -
- {{ question.description }} -
-
- {% for answer in question.answers.all %} - + {% for question in test.questions.all %} +
+ {{ question.description }} +
+
+ {% for answer in question.answers.all %} + + {% endfor %} +
{% endfor %} -
+
+ +
+ + - {% endfor %} - -
- -
- {% endblock %}