1 {% extends 'base.html' %}
5 <h1>{% if marked %}Ocenione odpowiedzi{% else %}Odpowiedzi do oceny{% endif %}</h1>
6 <p>Zadanie <cite>{{ assignment.title }}</cite> (max {{ assignment.max_points }} pkt)</p>
7 <p><strong>{% if assignment.is_active %}Możliwość oceniania zostanie włączona po terminie wysyłania rozwiązań</strong>{% endif %}</p>
8 {% if not assignment.is_active %}
10 <p><a href="{% url 'stage2_answer_list' assignment.id %}">Przejdź do odpowiedzi do oceny</a></p>
12 <p><a href="{% url 'stage2_marked_answers' assignment.id %}">Przejdź do ocenionych odpowiedzi</a></p>
15 <p>{% if not marked and not assignment.is_active %}Pozostało {% endif %}{{ answers|length }} odpowiedzi</p>
16 {% for answer in answers %}
17 <h3>{{ answer.participant }}</h3>
18 {% for label, attachment in answer.attachments %}
20 <strong>{{ label }}</strong>:
21 {% if attachment.file %}
22 <a href="{% url 'stage2_expert_download' attachment.id %}">{{ attachment.filename }}</a>
23 ({{ attachment.file.size|filesizeformat }})
29 {% if not assignment.is_active %}
30 <form method="post" action="{% url 'stage2_mark_answer' answer.id %}">
32 {{ answer.form.as_p }}
33 <input type="submit" value="Zapisz"/>