Martin Z. (Zimamazim)
5 years ago
3 changed files with 221 additions and 3 deletions
@ -0,0 +1,78 @@ |
|||||
|
{% extends "seminar/zadani/base.html" %} |
||||
|
{% load staticfiles %} |
||||
|
|
||||
|
{% block script %} |
||||
|
<!--script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script!--> |
||||
|
{{form.media}} |
||||
|
<script src="{% static 'seminar/prihlaska.js' %}"></script> |
||||
|
{% endblock %} |
||||
|
{% block content %} |
||||
|
<h1> |
||||
|
{% block nadpis1a %}{% block nadpis1b %} |
||||
|
Změna osobních údajů |
||||
|
{% endblock %}{% endblock %} |
||||
|
</h1> |
||||
|
<form action="{% url 'seminar_resitel_edit' %}" method="post"> |
||||
|
{% csrf_token %} |
||||
|
{{form.non_field_errors}} |
||||
|
<ul class="form"> |
||||
|
<li> |
||||
|
Přihlašovací údaje |
||||
|
</li><li> |
||||
|
{% include "seminar/prihlaska_field.html" with field=form.username %} |
||||
|
</li><li> |
||||
|
Osobní údaje |
||||
|
</li><li> |
||||
|
{% 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> |
||||
|
Bydliště |
||||
|
</li><li> |
||||
|
{% 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><li> |
||||
|
<hr> |
||||
|
{% 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> |
||||
|
{% include "seminar/prihlaska_field.html" with field=form.rok_maturity %} |
||||
|
</li><li> |
||||
|
{% include "seminar/prihlaska_field.html" with field=form.zasilat %} |
||||
|
</li><li> |
||||
|
{% include "seminar/prihlaska_field.html" with field=form.spam %} |
||||
|
</li> |
||||
|
</ul> |
||||
|
<input type="submit" value="Změnit"> |
||||
|
</form> |
||||
|
<script> |
||||
|
$("#id_stat").on("change",addrCountryChanged); |
||||
|
$("#id_skola_text_button").on("click",schoolNotInList); |
||||
|
</script> |
||||
|
{% endblock %} |
||||
|
|
Loading…
Reference in new issue