From c12f20984aa75751af89a0d6213bc35924bc593b Mon Sep 17 00:00:00 2001 From: Jay Parikh Date: Mon, 18 Mar 2013 15:11:15 +0530 Subject: Added code snippets for questions --- testapp/templates/exam/add_question.html | 1 + testapp/templates/exam/edit_question.html | 1 + testapp/templates/exam/question.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'testapp/templates/exam') diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html index 9651600..e3ba17a 100644 --- a/testapp/templates/exam/add_question.html +++ b/testapp/templates/exam/add_question.html @@ -26,6 +26,7 @@ Rendered:

Description: {{ form.description}} {{form.description.errors}} Test: {{ form.test }}{{form.test.errors}} + Snippet: {{ form.snippet }}{{ form.snippet.errors }} Tags: {{ form.tags }} Options: {{ form.options }} {{form.options.errors}} diff --git a/testapp/templates/exam/edit_question.html b/testapp/templates/exam/edit_question.html index 0a41326..96502f1 100644 --- a/testapp/templates/exam/edit_question.html +++ b/testapp/templates/exam/edit_question.html @@ -36,6 +36,7 @@ Rendered:

Description: {{ form.description }} {{form.description.errors}} Test: {{ form.test }}{{form.test.errors}} + Snippet: {{ form.snippet }}{{ form.snippet.errors }} Tags: {{ form.tags }} Options: {{ form.options }} {{form.options.errors}} {{form.options.helptext}} diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index b2f5816..aaf7270 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -208,7 +208,7 @@ function catchTab(item,e){ {% endfor %} {% else %} - +