From a0159b6c71927e61919afa1ff36dfa35f26029ef Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 19 Jan 2017 20:18:57 +0530 Subject: Add minor UI change when displaying Code question errors --- yaksh/templates/exam.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 19d760a..101f3f3 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -26,7 +26,7 @@ {% endblock %} {% block content %} -
+
-
+
{% block main %} {% endblock %}
{% if question.type == 'code' %} {% if error_message %} -
+
{% for error in error_message %} {% if error == "Correct answer" %}
-- cgit