diff options
Diffstat (limited to 'testapp/templates/exam/question.html')
-rw-r--r-- | testapp/templates/exam/question.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index b2f5816..aaf7270 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -208,7 +208,7 @@ function catchTab(item,e){ {% endfor %} {% else %} - <textarea tabindex=1 rows="15" 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" %} #!/bin/bash{% else %}# Enter your answer here.{% endif %}{% endif %}</textarea> + <textarea tabindex=1 rows="15" 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" %} #!/bin/bash{% else %}{{ question.snippet }}{% endif %}{% endif %}</textarea> <br> <script type="text/javascript"> |