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