From e9009dcb9ce9761d59339537e9fbbd160f47187b Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 3 Nov 2022 15:23:16 +0530 Subject: [PATCH] fix: quiz button mayout --- lms/templates/quiz.html | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/lms/templates/quiz.html b/lms/templates/quiz.html index da378cee..babf9758 100644 --- a/lms/templates/quiz.html +++ b/lms/templates/quiz.html @@ -15,20 +15,29 @@
+ +
{{ quiz.title }}
-
+ +
{{ _("This quiz consists of {0} questions.").format(quiz.questions | length) }} - {% if quiz.max_attempts %} - {% set suffix = "times" if quiz.max_attempts > 1 else "time" %} - {{ _("This quiz can only be taken {0} {1}. If you attempt the quiz but leave the page before submitting, - the quiz will be automatically submitted.").format(quiz.max_attempts, suffix) }} - {% endif %} - {% if quiz.time %} - {{ _("The quiz has a time limit. For each question you will be given {0} seconds.").format(quiz.time) }} - {% endif %}
-