Fixed servefiles urls
[bcms.git] / templates / login.html
blob78b0a6fc362cddde50ee58b2436d1d24ce54f9eb
1 {% extends "master.html" %}
2 {% load i18n %}
4 {% block head %}
5 <style type="text/css">
6 div{
7 border: grey groove 1px;
8 width: 340px;
10 </style>
11 {% endblock head %}
13 {% block content %}
15 <div align="center" valign="center">
17 {% if form.has_errors %}
18 <p>
19 {% trans "Your username and password didn't match. Please try again." %}
20 </p>
21 {% else %}
22 <p>
23 {% trans "Login" %}
24 </p>
25 {% endif %}
27 <form method="post" action="">
28 <input type="hidden" name="next" value="{{ next }}" />
30 <table>
31 <tr><td><label for="id_username">{% trans "Username" %}:</label></td><td>{{ form.username }}</td></tr>
32 <tr><td><label for="id_password">{% trans "Password" %}:</label></td><td>{{ form.password }}</td></tr>
33 </table>
35 <input type="submit" value='{% trans "login" %}' />
36 </form>
38 </div>
39 {% endblock %}