{% extends 'base.html' %} {% block body %}

{% if marked %}Ocenione odpowiedzi{% else %}Odpowiedzi do oceny{% endif %}

{{ assignment.title }} (max {{ assignment.max_points }} pkt)

{% if assignment.is_active %}

Możliwość oceniania zostanie włączona po terminie wysyłania rozwiązań

{% else %} {% if marked %}

Przejdź do odpowiedzi do oceny

{% else %}

Przejdź do ocenionych odpowiedzi

{% endif %} {% endif %}

{% if not marked and not assignment.is_active %}Pozostało {% endif %}{{ answers|length }} odpowiedzi

{% if field_counts and assignment.is_active %} {% endif %} {% if supervisor %} {% endif %} {% for answer in answers %} {% if supervisor %}

{{ answer.participant }}

{% else %}

Uczestnik {{ answer.participant.id }}

{% endif %} {% for label, value in answer.fields %}

{{ label }}: {{ value }}

{% endfor %} {% for label, attachment in answer.attachments %}

{{ label }}: {% if attachment.file %} {{ attachment.filename }} ({{ attachment.file.size|filesizeformat }}) {% else %} (nie wysłano pliku) {% endif %}

{% endfor %} {% if not assignment.is_active %}
{% csrf_token %} {% for form in answer.forms %} {{ form.as_table }} {% endfor %}
{% endif %} {% endfor %} {% endblock %}