|
|
@ -14,92 +14,93 @@ |
|
|
|
{% endblock %}{% endblock %} |
|
|
|
</h1> |
|
|
|
|
|
|
|
|
|
|
|
<form action="{% url 'seminar_prihlaska' %}" method="post"> |
|
|
|
{% csrf_token %} |
|
|
|
{{form.non_field_errors}} |
|
|
|
<ul class="form"> |
|
|
|
<li> |
|
|
|
|
|
|
|
|
|
|
|
<hr> |
|
|
|
<h4> |
|
|
|
Přihlašovací údaje |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</h4> |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.username %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.password %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.password_check %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</table> |
|
|
|
|
|
|
|
<hr> |
|
|
|
|
|
|
|
<h4> |
|
|
|
Osobní údaje |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</h4> |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.jmeno %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.prijmeni %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.pohlavi_muz%} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.email %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.telefon %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.datum_narozeni %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<hr> |
|
|
|
</table> |
|
|
|
|
|
|
|
<hr> |
|
|
|
|
|
|
|
<h4> |
|
|
|
Bydliště |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</h4> |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.ulice %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.mesto %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.psc %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.stat %} |
|
|
|
</li> |
|
|
|
<li id="id_li_stat_text"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.stat_text %} |
|
|
|
</li> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.stat_text id="id_li_stat_text"%} |
|
|
|
</table> |
|
|
|
|
|
|
|
<li> |
|
|
|
<hr> |
|
|
|
<hr> |
|
|
|
|
|
|
|
<h4> |
|
|
|
Škola |
|
|
|
</h4> |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.skola %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<button id="id_skola_text_button" type="button">Škola není v seznamu</button> |
|
|
|
</li> |
|
|
|
<li id="id_li_skola_nazev"> |
|
|
|
Vyplň prosím celý název a adresu školy.<br> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.skola_nazev %} |
|
|
|
</li> |
|
|
|
<li id="id_li_skola_adresa"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.skola_adresa %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<tr><td colspan="2" ><button id="id_skola_text_button" type="button">Škola není v seznamu</button></td></tr> |
|
|
|
<tr><td id="id_li_skola_vypln" colspan="2">Vyplň prosím celý název a adresu školy.</td></tr> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.skola_nazev id="id_li_skola_nazev" %} |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.skola_adresa id="id_li_skola_adresa" %} |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.rok_maturity %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</table> |
|
|
|
|
|
|
|
<hr> |
|
|
|
|
|
|
|
<h4> |
|
|
|
Pošta |
|
|
|
</h4> |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.zasilat %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</table> |
|
|
|
<hr> |
|
|
|
|
|
|
|
<h4> |
|
|
|
GDPR |
|
|
|
</h4> |
|
|
|
{% include "seminar/gdpr.html" %} |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.gdpr %} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
</table> |
|
|
|
|
|
|
|
<hr> |
|
|
|
|
|
|
|
<h4> |
|
|
|
Zasílání propagačních materiálů |
|
|
|
</h4> |
|
|
|
<table class="form"> |
|
|
|
{% include "seminar/prihlaska_field.html" with field=form.spam %} |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</table> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr> |
|
|
|
|
|
|
|
<input type="submit" value="Odeslat"> |
|
|
|
</form> |
|
|
|
<script> |
|
|
@ -109,4 +110,3 @@ $("#id_skola_text_button").on("click",schoolNotInList); |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|