templates/display_question.html
changeset 19 4911302379ac
child 27 6233cf13fc12
equal deleted inserted replaced
18:c66b4904ce5a 19:4911302379ac
       
     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 %}