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