summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-09-08 16:23:29 +0530
committerGitHub2016-09-08 16:23:29 +0530
commitdc4437c52ee1266af9a69d091952d9f6b19ca584 (patch)
tree579ff6bd295a31af114c6761ed4f6691d298a2b3 /yaksh/templates/manage.html
parentdd7d6933d4312276aec47d401678f853961b5427 (diff)
parentbc8095aaa0fe19da925e244967eb9ae77cf0f970 (diff)
downloadonline_test-dc4437c52ee1266af9a69d091952d9f6b19ca584.tar.gz
online_test-dc4437c52ee1266af9a69d091952d9f6b19ca584.tar.bz2
online_test-dc4437c52ee1266af9a69d091952d9f6b19ca584.zip
Merge pull request #133 from maheshgudi/test_modes
Test modes bug fixes
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r--yaksh/templates/manage.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index 2fd0f7a..b628a44 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -78,15 +78,15 @@
<h5>Click on the button given below to add a new course.</h5>
<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/add_course");'>Add New Course</button>
</center>
- {% if trial_quiz %}
+ {% if trial_paper %}
<h5/> You have trial papers.
<table class="bordered-table zebra-striped">
<form action="" method="post">
{% csrf_token %}
- {% for quiz in trial_quiz %}
+ {% for paper in trial_paper %}
<tr>
- <td> <input type = "checkbox" name="delete_quiz" value = {{quiz.id}}></input></td>
- <td> <a href="{{URL_ROOT}}/exam/manage/gradeuser/{{quiz.id}}">{{quiz.description}}</td>
+ <td> <input type = "checkbox" name="delete_paper" 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 %}
</table>