X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/abb9819943355e192b04fc9aedcbd6fbc44bc5f9..0c7e19187742930434db14b44579d9d22effc361:/stage2/templates/stage2/participant.html diff --git a/stage2/templates/stage2/participant.html b/stage2/templates/stage2/participant.html index e6761d2..3dbc4bf 100644 --- a/stage2/templates/stage2/participant.html +++ b/stage2/templates/stage2/participant.html @@ -14,14 +14,6 @@ Zobacz treść zadania
{% csrf_token %} - {% for form in assignment.field_forms %} - {{ form.assignment_id }} -

{{ form.value.label }}:

- {{ form.value.errors }} -

- {% if assignment.is_active %}{{ form.value }}{% else %}{{ form.value.value }}{% endif %} -

- {% endfor %} {% for form, attachment in assignment.attachment_forms %} {{ form.assignment_id }}

{{ form.file.label }}:

@@ -35,6 +27,14 @@ {% endif %}

{% endfor %} + {% for form in assignment.field_forms %} + {{ form.assignment_id }} +

{{ form.value.label }}:

+ {{ form.value.errors }} +

+ {% if assignment.is_active %}{{ form.value }}{% else %}{{ form.value.value }}{% endif %} +

+ {% endfor %} {% if assignment.is_active %}{% endif %}
{% endfor %}