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