{% extends "base.html" %} {% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} {% block content %}

Grading papers for {{ data.user.get_full_name.title }}

Name: {{ data.user.get_full_name.title }} {% if data.profile %} (roll number: {{ data.profile.roll_number }})
{{ data.profile.position }}, {{ data.profile.department }}, {{ data.profile.institute }} {% endif %}

{% if data.papers %} {% for paper in data.papers %}

Quiz: {{ paper.quiz.description }}

Questions correctly answered: {{ paper.get_answered_str }}
Total attempts at questions: {{ paper.answers.count }}
Marks obtained: {{ paper.get_total_marks }}
Start time: {{ paper.start_time }}

{% if paper.answers.count %}

Answers

{% csrf_token %} {% for question, answers in paper.get_question_answers.items %}

Question: {{ question.id }}. {{ question.summary }} (Points: {{ question.points }})

{% for answer in answers %}
 
################################################################################
{{ answer.answer|safe }}
# Autocheck: {{ answer.error }}
Marks: {% endfor %} {# for answer in answers #} {% endfor %} {# for question, answers ... #}

Teacher comments:


{% endif %} {# if paper.answers.count #} {% endfor %} {# for paper in data.papers #} {% endif %} {# if data.papers #} {% endblock content %}