minor code style
[redakcja.git] / redakcja / templates / registration / login.html
1 {% extends "catalogue/base.html" %}
2
3 {% block subtitle %} - Logowanie {% endblock subtitle %}
4
5 {% block inner_content %}
6
7
8
9 <form method="POST" action="{% url 'login' %}">
10 {% csrf_token %}
11
12             <form method="POST" action="{% url 'login' %}">
13                 {% csrf_token %}
14                 {{ form.non_field_errors }}
15                 <label for="email">
16                     E-mail</label>
17                     {{ form.username.errors }}
18                     <input name="username" class="form-control" type="email">
19                 
20                 <label for="password">
21                     Password</label>
22                     {{ form.password.errors }}
23                     <input name="password" class="form-control" type="password">
24                 
25                 
26                     <input type="checkbox" name="keep">
27                     <label for="keep">Keep me logged in</label>
28                 
29                 <div><button class="btn btn-default">
30                     Log in
31                 </button>
32                 </div>
33             </form>
34             <p><a href="{% url 'password_reset' %}">I forgot my password</a></p>
35             <hr>
36             <a class="btn btn-default" href="{% url 'register' %}">Register</a>
37
38 {% endblock %}