1 {% extends 'base.html' %}
2 {% load textile_pl from fnp_markup %}
5 {% block title %}Drugi etap{% endblock %}
8 <h1>Drugi etap Olimpiady Cyfrowej</h1>
10 {% chunk 'stage2_header' %}
12 {% for assignment in assignments %}
13 <h2>{{ assignment.title }} (do {{ assignment.deadline }})</h2>
14 <p>{{ assignment.content|textile_pl }}</p>
15 <form method="POST" action="{% url 'stage2_upload' assignment.id participant.id participant.key %}"
16 enctype="multipart/form-data">
18 {% for form, attachment in assignment.forms %}
19 <p><strong>{{ form.file.label }}:</strong></p>
21 {% if assignment.is_active %}{{ form.file }}{% endif %}
22 {% if attachment.file %}
23 <a href="{{ attachment.download_url }}">{{ attachment.filename }}</a>
24 ({{ attachment.file.size|filesizeformat }})
30 <input type="submit" value="Wyślij"/>