templates/display_question.html
changeset 19 4911302379ac
child 27 6233cf13fc12
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/display_question.html	Tue Apr 20 21:53:19 2010 +0530
@@ -0,0 +1,15 @@
+{% extends 'base.html' %}
+{% block script %}
+    <script language="javascript">
+        function dipost (){
+            document.getElementById("queform").submit();
+        }
+		setTimeout("dipost()", {{question.time_limit}} * 1000)
+    </script>
+{% endblock %}
+{% block content %}
+<form action="" method="post" id="queform">
+		{{question.description}}	<br />
+<textarea name="answer"></textarea>
+</form>
+{% endblock %}