diff options
Diffstat (limited to 'templates/exam/question.html')
-rw-r--r-- | templates/exam/question.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html new file mode 100644 index 0000000..05e80a8 --- /dev/null +++ b/templates/exam/question.html @@ -0,0 +1,20 @@ +<h2> {{ question.summary }} </h2> + +<p>{{ question.question }} </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"> +# Enter your answer here. +</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>
\ No newline at end of file |