1 {% extends "base.html" %}
4 {% block title %}{{ form.form_title }}{% endblock %}
13 <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
15 <div class="form-info">
16 {% block contact_form_description %}
17 {% chunk "contact_form__"|add:form.form_tag %}
21 <form method="POST" action="." enctype="multipart/form-data" class="submit-form">
23 <h3>Dane Opiekuna/Opiekunki i instytucji zgłaszającej Uczestnika:</h3>
28 {% for formset in formsets %}
30 <h3>Dane Uczestników i Uczestniczek:</h3>
31 <p>Można zgłosić 3 do 5 osób.</p>
33 {{ formset.management_form }}
35 <ul class="errorlist">
36 {% for err in formset.non_form_errors %}
41 {% for form in formset.forms %}
42 <h4>Uczestnik lub Uczestniczka nr {{ forloop.counter }}:</h4>
50 <div id="formstub-{{ formset.prefix }}" style="display:none">
51 <h3>Dane Uczestnika/Uczestniczki:</h3>
53 {{ formset.empty_form.as_table }}
57 <input type="button" value="+ Dodaj kolejną osobę" class="add_more" data-selector="#formstub-{{formset.prefix}}" data-prefix="{{formset.prefix}}">
66 <button style="font-size:1.5em;">{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button>