summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yaksh/templates/yaksh/regrade.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/yaksh/templates/yaksh/regrade.html b/yaksh/templates/yaksh/regrade.html
index 77d8ec4..5cfc1b0 100644
--- a/yaksh/templates/yaksh/regrade.html
+++ b/yaksh/templates/yaksh/regrade.html
@@ -44,8 +44,8 @@
</span></h4>
<div id="questions_quizzes{{ course.id }}" class="collapse">
{% for quiz in course.quiz_set.all %}
- <p><a href="#questions_questions{{ quiz.id }}" data-toggle="collapse">Quiz: {{ quiz }}</a></p>
- <div id="questions_questions{{ quiz.id }}" class="collapse">
+ <p><a href="#questions_questions{{ course.id }}{{ quiz.id }}" data-toggle="collapse">Quiz: {{ quiz }}</a></p>
+ <div id="questions_questions{{ course.id }}{{ quiz.id }}" class="collapse">
{% with questionpaper=quiz.questionpaper_set.get %}
<p class="bg-info"> Questions: </p>
<ol class="list-group">
@@ -80,8 +80,8 @@
</span></h4>
<div id="quizzes_quizzes{{ course.id }}" class="collapse">
{% for quiz in course.quiz_set.all %}
- <p><a href="#quizzes_papers{{ quiz.id }}" data-toggle="collapse">Quiz: {{ quiz }}</a></p>
- <div id="quizzes_papers{{ quiz.id }}" class="collapse">
+ <p><a href="#quizzes_papers{{ course.id }}{{ quiz.id }}" data-toggle="collapse">Quiz: {{ quiz }}</a></p>
+ <div id="quizzes_papers{{ course.id }}{{ quiz.id }}" class="collapse">
<ol class="list-group">
{% for answerpaper in quiz.questionpaper_set.get.answerpaper_set.all %}
<li class="list-group">
@@ -114,8 +114,8 @@
</span></h4>
<div id="users_users{{ course.id }}" class="collapse">
{% for user in course.students.all %}
- <p><a href="#users_papers{{ user.id }}" data-toggle="collapse"> Answer Papers for {{ user.get_full_name }}</a></p>
- <div id="users_papers{{ user.id }}" class="collapse">
+ <p><a href="#users_papers{{ course.id }}{{ user.id }}" data-toggle="collapse"> Answer Papers for {{ user.get_full_name }}</a></p>
+ <div id="users_papers{{ course.id }}{{ user.id }}" class="collapse">
<ol class="list-group">
{% for answerpaper in user.answerpaper_set.all %}
<li class="list-group"> Quiz: {{answerpaper.question_paper.quiz.description }}; Attempt Number: {{ answerpaper.attempt_number }}