summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormaheshgudi2016-09-07 18:19:38 +0530
committermaheshgudi2016-09-07 18:19:38 +0530
commitccea043bde737883063adfaf28eb16c95218d58b (patch)
treed0e881fae8391740ab5c7480444eb36855bea1a4 /yaksh/templates
parent7d243a58856c09d7d547c1a239ecb9af56f3d6df (diff)
downloadonline_test-ccea043bde737883063adfaf28eb16c95218d58b.tar.gz
online_test-ccea043bde737883063adfaf28eb16c95218d58b.tar.bz2
online_test-ccea043bde737883063adfaf28eb16c95218d58b.zip
only answerpapers are deleted and not the entire trial quiz
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/manage.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index 2baf492..9934f41 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -85,7 +85,7 @@
{% csrf_token %}
{% for paper in trial_paper %}
<tr>
- <td> <input type = "checkbox" name="delete_quiz" value = {{paper.question_paper.quiz.id}}></input></td>
+ <td> <input type = "checkbox" name="delete_quiz" value = {{paper.id}}></input></td>
<td> <a href="{{URL_ROOT}}/exam/manage/gradeuser/{{paper.question_paper.quiz.id}}">{{paper.question_paper.quiz.description}}</td>
</tr>
{% endfor %}