summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorankitjavalkar2016-11-10 17:49:24 +0530
committerankitjavalkar2016-11-10 17:49:24 +0530
commit2100ef108b7119370051f8117c3bb58315fad270 (patch)
tree162b6ccab786732a2a6ef6f345d5c9917495e06a /yaksh/templates
parenta09df642d4f3623ee517aaed2eac1372ebacc0e0 (diff)
downloadonline_test-2100ef108b7119370051f8117c3bb58315fad270.tar.gz
online_test-2100ef108b7119370051f8117c3bb58315fad270.tar.bz2
online_test-2100ef108b7119370051f8117c3bb58315fad270.zip
Fix minor errors, fix template rendering in grade user
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/user_data.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/user_data.html b/yaksh/templates/yaksh/user_data.html
index 0a7e4aa..378e7fd 100644
--- a/yaksh/templates/yaksh/user_data.html
+++ b/yaksh/templates/yaksh/user_data.html
@@ -94,7 +94,7 @@ User IP address: {{ paper.user_ip }}
<h5>Student answer: </h5>
{% for answer in answers %}
{% if not answer.skipped %}
- {% if "Correct answer" in answer.error %}
+ {% if answer.correct %}
<div class="panel panel-success">
{% else %}
<div class="panel panel-danger">