summaryrefslogtreecommitdiff
path: root/yaksh/templates/exam.html
diff options
context:
space:
mode:
authormaheshgudi2017-01-26 01:43:47 +0530
committermaheshgudi2017-03-02 20:38:41 +0530
commit4ef5f9377c27a3e88ae3a1a4e2a446984fc14b70 (patch)
tree8cad540dcd71b83b7b308feb9a3d87cc1f7e1128 /yaksh/templates/exam.html
parent059034c0ec77d130eeb55af62c456773c2a64b2a (diff)
downloadonline_test-4ef5f9377c27a3e88ae3a1a4e2a446984fc14b70.tar.gz
online_test-4ef5f9377c27a3e88ae3a1a4e2a446984fc14b70.tar.bz2
online_test-4ef5f9377c27a3e88ae3a1a4e2a446984fc14b70.zip
added integer based question type
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r--yaksh/templates/exam.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index b497cc0..ae1a620 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -84,9 +84,13 @@
<div class="panel-body"><pre><code>{{ error }}</code></pre></div>
</div>
{% endfor %}
-
+ {% if error != "Incorrect answer" %}
+ <div class="panel-heading">Testcase No. {{ forloop.counter }}</div>
+ <div class="panel-body"><pre><code>{{ error }}</code></pre></div>
+ {% endif %}
</div>
- {% endif %}
+ {% endfor %}
+ </div>
{% endif %}
</div>
</div>