From 1712353f3646e24de7ec359bdbb9c9a3012b1597 Mon Sep 17 00:00:00 2001 From: Jay Parikh Date: Mon, 25 Jun 2012 17:28:28 +0530 Subject: implemented tabs & line numbers in textarea --- testapp/templates/exam/question.html | 123 ++++++++++++++++++++++++++++++++++- 1 file changed, 122 insertions(+), 1 deletion(-) (limited to 'testapp/templates/exam/question.html') diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index 584ab72..b2f5816 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -6,9 +6,123 @@ {% block css %} + {% endblock %} {% block script %} + + + + + {% endblock script %} + {% block onload %} onload="update_time()" {% endblock onload %} {% block pagetitle %} @@ -92,7 +207,13 @@ {{option}}
{% endfor %} {% else %} - + + +
+ + {% endif %} {% if question.type == "mcq" %} -- cgit