X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/cc3068f96f0b76891ef5b005a352b4a328e0cb33..b7fbbcfd919b7cf3d69da333a7e3f7c09eacd7e8:/stage2/templates/stage2/answer_list.html diff --git a/stage2/templates/stage2/answer_list.html b/stage2/templates/stage2/answer_list.html index c0f7dc8..d8f3dce 100644 --- a/stage2/templates/stage2/answer_list.html +++ b/stage2/templates/stage2/answer_list.html @@ -21,8 +21,21 @@ {% endfor %} {% endif %} + {% if supervisor %} + + {% endif %} {% for answer in answers %} -

{{ answer.participant }}

+ {% if supervisor %} +

{{ answer.participant }}

+ {% else %} +

Uczestnik {{ answer.participant.id }}

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

{{ label }}: {{ value }} @@ -40,10 +53,14 @@

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