summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-09-15 16:00:41 +0530
committerGitHub2020-09-15 16:00:41 +0530
commitc9d0d238cd201310e5e6da546f518675f7a12440 (patch)
tree80ccacb0b89cabb22f6b4340944b2b668550afb6 /yaksh/templates
parent34539e10f25e6bd12862f4a4f045ca1fb667844e (diff)
parentfee2f97d867e11216ee928f37c228e94a951bb9c (diff)
downloadonline_test-c9d0d238cd201310e5e6da546f518675f7a12440.tar.gz
online_test-c9d0d238cd201310e5e6da546f518675f7a12440.tar.bz2
online_test-c9d0d238cd201310e5e6da546f518675f7a12440.zip
Merge pull request #765 from adityacp/fix_grade_user
Show missing marks in grade user
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/grade_user.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html
index a9ab53e..341fd7c 100644
--- a/yaksh/templates/yaksh/grade_user.html
+++ b/yaksh/templates/yaksh/grade_user.html
@@ -327,7 +327,7 @@ function searchNames() {
</a>
</td>
<td>{{ question.type }}</td>
- <td>{{ answer.answer.marks }}</td>
+ <td>{{ answer.marks }}</td>
<td>
<a href="{% url 'yaksh:regrade_by_question' course_id quiz.questionpaper_set.get.id paper.id question.id %}" class="btn btn-outline-success">
<i class="fa fa-repeat"></i>&nbsp;Regrade
@@ -567,7 +567,7 @@ function searchNames() {
<div class="col-md-2">
<label class="col-form-label" for="q{{ question.id }}">Marks:</label>
{% with answers|last as answer %}
- <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answer.answer.marks }}"><br><br>
+ <input id="q{{ question.id }}" type="text" name="q{{ question.id }}_marks" size="4" class="form-control" value="{{ answer.marks }}"><br><br>
{% endwith %}
</div>
</div>