summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
authorprathamesh2013-07-03 12:41:00 +0530
committerprathamesh2013-07-03 12:41:00 +0530
commit781842c523ccf11b85e0be06e884b2cd585f3cb9 (patch)
tree2c4ad65fdbc28ec5d5616e984e5baf3666b005d6 /testapp/templates
parenteee6362ab994bc0082fdc777c225773318978b1a (diff)
downloadonline_test-781842c523ccf11b85e0be06e884b2cd585f3cb9.tar.gz
online_test-781842c523ccf11b85e0be06e884b2cd585f3cb9.tar.bz2
online_test-781842c523ccf11b85e0be06e884b2cd585f3cb9.zip
clean code
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/exam/question.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html
index 11ea1aa..1203c0e 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -92,7 +92,7 @@ function update_time()
{% endfor %}
{% else %}
- <textarea tabindex=1 rows="3" style="width:750px;margin-bottom:15px;height:auto;" readonly=yes name="snippet" id="snippet" wrap="off">{% if last_attempt %}{% else %}{% if question.type == "bash" %} #!/bin/bash{% else %} #To avoid errors use tabs for indentation for Python questions &#13;&#10; {{ question.snippet }}{% endif %}{% endif %}</textarea>
+ <textarea tabindex=1 rows="3" style="width:750px;margin-bottom:15px;height:auto;" readonly=yes name="snippet" id="snippet" wrap="off">{% if last_attempt %}{{ question.snippet }}{% else %}{% if question.type == "bash" %} #!/bin/bash{% else %}{% if question.type == "python "%} #To avoid errors use tabs for indentation for Python questions &#13;&#10; {{ question.snippet }} {% else %} {{ question.snippet }} {% endif %}{% endif %}{% endif %}</textarea>
<textarea tabindex=1 rows="10" style="width:750px;margin-bottom:10px;" name="answer" id="answer" wrap="off" onkeydown="return catchTab(this,event)">{% if last_attempt %}{{last_attempt.strip}}{% else %}{% if question.type == "bash" %}{% else %}{% endif %}{% endif %}</textarea>
<br>