1 {% extends "base.html" %}
5 {% block title %}{{ form.form_title }}{% endblock %}
14 <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
16 <div class="form-info">
17 {% block contact_form_description %}
18 {% chunk "contact_form__"|add:form.form_tag %}
22 <form method="POST" action="." enctype="multipart/form-data" class="submit-form">
24 {% render_honeypot_field %}
25 <h3>Dane Przewodniczącego i szkoły zgłaszającej Uczestników:</h3>
30 {% with formsets.commission as formset %}
32 <h3>Dane członków Komisji Szkolnej:</h3>
34 {{ formset.management_form }}
36 <ul class="errorlist">
37 {% for err in formset.non_form_errors %}
42 {% for form in formset.forms %}
48 <div id="formstub-{{ formset.prefix }}" style="display:none">
50 {{ formset.empty_form.as_table }}
54 <input type="button" value="+ Dodaj kolejną osobę" class="add_more" data-selector="#formstub-{{formset.prefix}}" data-prefix="{{formset.prefix}}">
58 {% with formsets.student as formset %}
59 <h3>Dane Uczestników:</h3>
61 {{ formset.management_form }}
63 <ul class="errorlist">
64 {% for err in formset.non_form_errors %}
69 {% for form in formset.forms %}
70 <h4>Uczestnik/Uczestniczka:</h4>
77 <div id="formstub-{{ formset.prefix }}" style="display:none">
78 <h4>Uczestnik/Uczestniczka:</h4>
80 {{ formset.empty_form.as_table }}
84 <input type="button" value="+ Dodaj kolejną osobę" class="add_more" data-selector="#formstub-{{formset.prefix}}" data-prefix="{{formset.prefix}}">
88 <button style="font-size:1.5em;">{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button>