Tomas "Jethro" Pokorny
5 years ago
5 changed files with 110 additions and 12 deletions
@ -0,0 +1,33 @@ |
|||||
|
{% extends "seminar/zadani/base.html" %} |
||||
|
{% load staticfiles %} |
||||
|
|
||||
|
|
||||
|
{% block content %} |
||||
|
<h1> |
||||
|
{% block nadpis1a %}{% block nadpis1b %} |
||||
|
Přihlášení |
||||
|
{% endblock %}{% endblock %} |
||||
|
</h1> |
||||
|
{% if login_error %} |
||||
|
<span class="field_error">{{login_error}}<span> |
||||
|
{% endif %} |
||||
|
<form action="/login/" method="post"> |
||||
|
{% csrf_token %} |
||||
|
{{form.non_field_errors}} |
||||
|
<ul class="form"> |
||||
|
<li> |
||||
|
{% include "seminar/prihlaska_field.html" with field=form.username %} |
||||
|
</li> |
||||
|
<li> |
||||
|
{% include "seminar/prihlaska_field.html" with field=form.password %} |
||||
|
</li> |
||||
|
</ul> |
||||
|
<input type="submit" value="Přihlásit"> |
||||
|
</form> |
||||
|
|
||||
|
<a href="/reset_password">Zapomněl jsem heslo</a><br> |
||||
|
<a href="/prihlaska">Zaregistrovat</a><br> |
||||
|
|
||||
|
|
||||
|
{% endblock %} |
||||
|
|
Loading…
Reference in new issue