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.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>