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