From faacb5ba720abc9660e1afa12c9a3c4d0761254f Mon Sep 17 00:00:00 2001
From: prathamesh
Date: Fri, 27 Jun 2014 17:20:02 +0530
Subject: Mutiple correct choices question type added.
---
testapp/templates/exam/question.html | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
(limited to 'testapp/templates')
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html
index c8454ff..a3e8629 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -106,7 +106,14 @@ function setSnippetHeight()
{% for option in question.options.strip.splitlines %}
{{option}}
{% endfor %}
- {% else %}
+ {% endif %}
+ {% if question.type == "mcc" %}
+ {% for option in question.options.strip.splitlines %}
+ {{ option }}
+
+ {% endfor %}
+ {% endif %}
+ {% if question.type == "code" %}
@@ -119,7 +126,7 @@ function setSnippetHeight()
{% endif %}
- {% if question.type == "mcq" %}
+ {% if question.type == "mcq" or question.type == "mcc "%}
{% else %}
--
cgit