blob: 896a8aa192ea75dfddf00712a8121961db540aa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<h2> {{ question.summary }} </h2>
<p>{{ question.description }} </p>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<form action="/exam/{{ question.id }}/check/" method="post">
{% csrf_token %}
<textarea rows="20" cols="100" name="answer">
{% if last_attempt %}{{last_attempt}}{% else %}# Enter your answer here.{% endif %}
</textarea>
<br/>
<input type="submit" name="check" value="Check Answer" />
<input type="submit" name="skip" value="Skip question" />
</form>
<p> You have {{quiz.questions_left}} question(s) left. </p>
|