summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
authorHardik Ghaghada2013-06-11 22:38:53 +0530
committerHardik Ghaghada2013-06-11 22:38:53 +0530
commit5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145 (patch)
tree13a1f3861f524f84820a5b86771168987a75ae4e /testapp/templates
parent6ab170ff9a530c2d59d4ce4a826c0fcaf9ec246f (diff)
downloadonline_test-5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145.tar.gz
online_test-5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145.tar.bz2
online_test-5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145.zip
Modified textarea in student interface to notify about using tabs for indentation
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 435f67f..1d801b0 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -87,7 +87,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 %}{{ 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 %}{% 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="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>