From ab1e0998b276dabd69213797c24cffd92faeb153 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 12 Feb 2016 13:01:55 +0530 Subject: Revert question display design, add language used --- yaksh/templates/yaksh/question.html | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'yaksh') diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 6e1da68..650cef0 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -146,19 +146,17 @@ function call_skip(url)
- - - - - -
-
Marks : {{ question.points }}
- {{ question.language }} -
-

{{ question.summary }}

-

{{ question.description|safe }}

-
-
+

{{ question.summary }} (Marks : {{ question.points }})


+ {{ question.description|safe }} +
Language: {{ question.language }}
+ {% if error_message %} +
+ {% for e in error_message.splitlines %} + {{ e|join:"" }} +
+ {% endfor%} +
+ {% endif %}
{% if error_message %}
-- cgit