From 370440db8a77969b7cd9c4a5803e6527841b55e4 Mon Sep 17 00:00:00 2001 From: jayparikh111 Date: Thu, 8 Nov 2012 12:34:14 +0530 Subject: removed global set varible --- testapp/templates/exam/automatic_questionpaper.html | 1 + testapp/templates/exam/editquestionpaper.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'testapp/templates') diff --git a/testapp/templates/exam/automatic_questionpaper.html b/testapp/templates/exam/automatic_questionpaper.html index b8f76b4..7a70748 100644 --- a/testapp/templates/exam/automatic_questionpaper.html +++ b/testapp/templates/exam/automatic_questionpaper.html @@ -86,6 +86,7 @@ function load_data() Points Tags {% for question in data.questions %} + {{ question.summary }} {{ question.type }} {{ question.points }} {% for tag in question.tags.all %} {{ tag }} diff --git a/testapp/templates/exam/editquestionpaper.html b/testapp/templates/exam/editquestionpaper.html index 68a9c22..ee36cc8 100644 --- a/testapp/templates/exam/editquestionpaper.html +++ b/testapp/templates/exam/editquestionpaper.html @@ -12,7 +12,7 @@ {% csrf_token %} {% for i in papers.questions %} -  {{ i.summary}}
+  {{ i.summary}}
{% endfor %}
   -- cgit