1 {% extends 'base_super.html' %}
3 {% block title %}Drugi etap{% endblock %}
6 <h1>Drugi etap Olimpiady Cyfrowej</h1>
8 {% for assignment in assignments %}
9 <h2>{{ assignment.title }} (do {{ assignment.deadline }})</h2>
10 <p>{{ assignment.content }}</p>
11 <form method="POST" action="{% url 'stage2_upload' assignment.id participant.id participant.key %}"
12 enctype="multipart/form-data">
14 {% for form, attachment in assignment.forms %}
15 <p><strong>{{ form.file.label }}:</strong></p>
17 {% if assignment.active %}{{ form.file }}{% endif %}
18 {% if attachment.file %}
19 <a href="{{ attachment.download_url }}">{{ attachment.filename }}</a>
25 <input type="submit" value="Wyślij"/>