28 lines
757 B
HTML
28 lines
757 B
HTML
{% extends "authBase.html" %}
|
|
|
|
{% block title %}Zaloguj się{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Zaloguj się</h2>
|
|
<form method="post"> {% csrf_token %}
|
|
|
|
{% for field in login_form %}
|
|
<p>
|
|
{{field.label_tag}}
|
|
{{field}}
|
|
{% for error in field.errors %}
|
|
<p style="color: red;">{{error}}</p>
|
|
{% endfor %}
|
|
</p>
|
|
{% endfor %}
|
|
<input type="submit" value="Zaloguj się">
|
|
<div class="linkDefault">
|
|
<a href="{% url 'resetPassword' %}">Zapomniałem hasła</a>
|
|
</div>
|
|
<div class="linkDefault">
|
|
<a href="{% url 'welcome' %}">Wróć</a>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|
|
|