X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/f689c911be1ba63d0f404ddaed570df3c3ffbee9..0c7e19187742930434db14b44579d9d22effc361:/stage2/templates/stage2/participant.html diff --git a/stage2/templates/stage2/participant.html b/stage2/templates/stage2/participant.html index f8ca87d..3dbc4bf 100644 --- a/stage2/templates/stage2/participant.html +++ b/stage2/templates/stage2/participant.html @@ -1,28 +1,41 @@ -{% extends 'base_super.html' %} +{% extends 'base.html' %} +{% load textile_pl from fnp_markup %} +{% load chunks %} {% block title %}Drugi etap{% endblock %} {% block body %}

Drugi etap Olimpiady Cyfrowej

+ {% chunk 'stage2_header' %} + {% for assignment in assignments %}

{{ assignment.title }} (do {{ assignment.deadline }})

-

{{ assignment.content }}

-
+ Zobacz treść zadania + {% csrf_token %} - {% for form, attachment in assignment.forms %} + {% for form, attachment in assignment.attachment_forms %} + {{ form.assignment_id }}

{{ form.file.label }}:

- {% if assignment.active %}{{ form.file }}{% endif %} + {% if assignment.is_active %}{{ form.file }}{% endif %} {% if attachment.file %} {{ attachment.filename }} + ({{ attachment.file.size|filesizeformat }}) {% else %} (nie wysłano pliku) {% 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 %}