summaryrefslogtreecommitdiff
path: root/yaksh/templates/exam.html
diff options
context:
space:
mode:
authormahesh2017-05-22 14:32:47 +0530
committermahesh2017-05-22 14:32:47 +0530
commit77f05d3df90a70ff97285deb5bda2d91d99e65d5 (patch)
treecf292b268f8f8dc322ea8bd50d2bbd65abef39e7 /yaksh/templates/exam.html
parent153f738c3c43b26339fb625aba8336b3f8265991 (diff)
downloadonline_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.tar.gz
online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.tar.bz2
online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.zip
changes variable and dict key names along with other minor changes in answerpaper.
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r--yaksh/templates/exam.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index f349b2f..45b85f0 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -109,7 +109,7 @@
<td> {{forloop.counter}} </td>
<td>{{expected|default:""}} </td>
<td>{{user|default:""}}</td>
- {% if forloop.counter0 in error.error_no or not expected or not user %}
+ {% if forloop.counter0 in error.error_line_numbers or not expected or not user %}
<td><span class ="glyphicon glyphicon-remove text-warning"/></td>
{% else %}
<td><span class ="glyphicon glyphicon-ok text-success"/></td>
@@ -121,7 +121,7 @@
<col width="10">
<tr class = "danger">
<td><b>Error:</b></td>
- <td>{{error.error}}</td>
+ <td>{{error.error_msg}}</td>
</tr>
</table>