diff options
author | hardythe1 | 2012-04-14 07:24:02 +0530 |
---|---|---|
committer | hardythe1 | 2012-04-14 07:24:02 +0530 |
commit | 9d0a737afdb23a50b28237055c87bfa72197d99b (patch) | |
tree | f0be0b52f49e7dee75239b2fe7f2be8e906abe35 /testapp/templates/exam | |
parent | 5d7ab20a710e2374a3345b07ed62154456dbd2c8 (diff) | |
download | online_test-9d0a737afdb23a50b28237055c87bfa72197d99b.tar.gz online_test-9d0a737afdb23a50b28237055c87bfa72197d99b.tar.bz2 online_test-9d0a737afdb23a50b28237055c87bfa72197d99b.zip |
minor changes as model changes
Diffstat (limited to 'testapp/templates/exam')
-rw-r--r-- | testapp/templates/exam/grade_user.html | 4 | ||||
-rw-r--r-- | testapp/templates/exam/monitor.html | 4 | ||||
-rw-r--r-- | testapp/templates/exam/showusers.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/testapp/templates/exam/grade_user.html b/testapp/templates/exam/grade_user.html index 7137548..58e118b 100644 --- a/testapp/templates/exam/grade_user.html +++ b/testapp/templates/exam/grade_user.html @@ -92,8 +92,8 @@ Marks: <input id="q{{ question.id }}" type="text" <h3>Teacher comments: </h3> -<textarea id="comments_{{paper.quiz.id}}" rows="10" cols="80" - name="comments_{{ paper.quiz.id }}">{{ paper.comments }}</textarea> +<textarea id="comments_{{paper.question_paper.id}}" rows="10" cols="80" + name="comments_{{ paper.question_paper.id }}">{{ paper.comments }}</textarea> <br> <br><button class="btn" type="submit" name="submit_{{paper.quiz.id}}">Save Marks</button> diff --git a/testapp/templates/exam/monitor.html b/testapp/templates/exam/monitor.html index 29cb6e9..aa8b678 100644 --- a/testapp/templates/exam/monitor.html +++ b/testapp/templates/exam/monitor.html @@ -27,8 +27,8 @@ {# This is rendered when we are just viewing exam/monitor #} {% if quizzes %} <ul> -{% for quiz in quizzes %} -<li><a href="{{URL_ROOT}}/exam/manage/monitor/{{quiz.id}}/">{{ quiz.description }}</a></li> +{% for q in quizzes %} +<li><a href="{{URL_ROOT}}/exam/manage/monitor/{{q.id}}/">{{ q.quiz.description }}</a></li> {% endfor %} </ul> {% endif %} diff --git a/testapp/templates/exam/showusers.html b/testapp/templates/exam/showusers.html index 603af8a..01ecc37 100644 --- a/testapp/templates/exam/showusers.html +++ b/testapp/templates/exam/showusers.html @@ -20,7 +20,7 @@ List of Users <tr><td><a href="{{URL_ROOT}}/exam/manage/gradeuser/{{ papers.user.username }}">{{ papers.user.username }}</a><br> <td >{{ papers.user.first_name.title }} <td>{{ papers.user.last_name.title }} - <td>{{ papers.quiz.description }} + <td>{{ papers.question_paper.quiz.description }} {% endfor %} </table></center> {% endblock %} |