1 {% extends "base_site.html" %}
4 {% block additional_css %}{% load adminmedia %}{{ block.super }}
5 <link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/base.css" />
6 <link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/login.css" />
9 {% block title %}Login{% endblock %}
10 {% block bodyclass %}login{% endblock %}
13 {% if error_message %}
14 <p class="errornote">{{ error_message }}</p>
18 <form action="{{ app_path }}" method="post" id="login-form">
19 <div class="form-row">
20 <label for="id_username">{% trans 'Username:' %}</label> <input type="text" name="username" id="id_username" />
22 <div class="form-row">
23 <label for="id_password">{% trans 'Password:' %}</label> <input type="password" name="password" id="id_password" />
24 <input type="hidden" name="this_is_the_login_form" value="1" />
26 <div class="submit-row">
27 <label> </label><input type="submit" value="{% trans 'Log in' %}" />
31 <script type="text/javascript">
32 document.getElementById('id_username').focus()