From: Charles Connell Date: Tue, 11 Feb 2014 14:45:42 +0000 (-0500) Subject: Show true/false questions X-Git-Tag: release-20150131~148^2^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e840f16dcdd4bf26d4af1fec1019639acb47f90e;p=oweals%2Fkarmaworld.git Show true/false questions --- diff --git a/karmaworld/templates/quizzes/quiz.html b/karmaworld/templates/quizzes/quiz.html index 1387955..ad62241 100644 --- a/karmaworld/templates/quizzes/quiz.html +++ b/karmaworld/templates/quizzes/quiz.html @@ -76,6 +76,15 @@ {% endwith %} {% endif %} + {% if 'TrueFalseQuestion' in item.0 %} + {% with question=item.1 %} +
+

{{ question.text }}

+

True or False?

+
+ {% endwith %} + {% endif %} + {% if 'FlashCardQuestion' in item.0 %} {% with question=item.1 %}