summaryrefslogtreecommitdiff
path: root/yaksh/templates/exam.html
diff options
context:
space:
mode:
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 02ff70a..4818717 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -86,9 +86,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>