From 15de9ce5fe9d1e456bfae60090807a77c6afef0a Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 18 Nov 2016 16:10:22 +0530 Subject: Fix output rendering in the question --- yaksh/templates/yaksh/question.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 74ac786..c3babaa 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -209,11 +209,19 @@ function call_skip(url) {% if question.type == "code" %}
@@ -156,14 +156,19 @@ Status : Passed{{ answer.answer.strip }}
{{ err }}
{{ answer.0.answer.strip }}
{{forloop.counter}}. {{ answers.0 }}
- {{ err }}
{{ answer.0.answer.strip }}
{{ ans.answer.answer.strip }}
{{ error_message }}
- {% endif %} ++
{{ error_message }}
- {% endif %} ++