Show true/false questions
authorCharles Connell <charles@connells.org>
Tue, 11 Feb 2014 14:45:42 +0000 (09:45 -0500)
committerCharles Connell <charles@connells.org>
Tue, 11 Feb 2014 14:45:42 +0000 (09:45 -0500)
karmaworld/templates/quizzes/quiz.html

index 1387955f2b0c1c130f020716da16c16ba949defa..ad622410dba43393e1ec33925744defeead26b86 100644 (file)
               {% endwith %}
             {% endif %}
 
+            {% if 'TrueFalseQuestion' in item.0 %}
+              {% with question=item.1 %}
+                <div class="question true-false">
+                  <p>{{ question.text }}</p>
+                  <p>True or False?</p>
+                </div>
+              {% endwith %}
+            {% endif %}
+
             {% if 'FlashCardQuestion' in item.0 %}
               {% with question=item.1 %}
                 <div class="question flash-card">