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>
9 <p><a href="{% url 'stage2_answer_list' assignment.id %}">Przejdź do odpowiedzi do oceny</a></p>
11 <p><a href="{% url 'stage2_marked_answers' assignment.id %}">Przejdź do ocenionych odpowiedzi</a></p>
13 {% for answer in answers %}
14 <h3>{{ answer.participant }}</h3>
15 {% for label, attachment in answer.attachments %}
17 <strong>{{ label }}</strong>:
18 {% if attachment.file %}
19 <a href="{% url 'stage2_expert_download' attachment.id %}">{{ attachment.filename }}</a>
20 ({{ attachment.file.size|filesizeformat }})
26 {% if not assignment.is_active %}
27 <form method="post" action="{% url 'stage2_mark_answer' answer.id %}">
29 {{ answer.form.as_p }}
30 <input type="submit" value="Zapisz"/>