author | nishanth |
Tue, 20 Apr 2010 21:53:19 +0530 | |
changeset 19 | 4911302379ac |
child 27 | 6233cf13fc12 |
permissions | -rw-r--r-- |
19 | 1 |
{% extends 'base.html' %} |
2 |
{% block script %} |
|
3 |
<script language="javascript"> |
|
4 |
function dipost (){ |
|
5 |
document.getElementById("queform").submit(); |
|
6 |
} |
|
7 |
setTimeout("dipost()", {{question.time_limit}} * 1000) |
|
8 |
</script> |
|
9 |
{% endblock %} |
|
10 |
{% block content %} |
|
11 |
<form action="" method="post" id="queform"> |
|
12 |
{{question.description}} <br /> |
|
13 |
<textarea name="answer"></textarea> |
|
14 |
</form> |
|
15 |
{% endblock %} |