{% extends "hdabo_base.html" %}
{% load i18n %}
    {% block content %}
    {{block.super}}
    {% if form.errors %}
        <p class="error">{% trans "Sorry, that's not a valid username or password." %}</p>
    {% endif %}
       <div class="span-24 last">
         <form action="" method='post' id="login-form">
             <div id="loginform_div" class="span-12">
             {% csrf_token %}
             <input type="hidden" name="next" value="{{ next }}" />
             <div id="login_fields_list">
             <table>
             {{form.as_table}}
             </table>
             </div>
             <div>
                 <a href="{% url django.contrib.auth.views.password_reset  %}" >{% trans "Forget password?" %}</a>
             </div>
             <div id="submitcontent-buttons-login" class="span-24 last">
                 <button class="button"type="submit" value="login">{% trans "login" %}</button>
             </div>
             </div>
         </form>
     </div> 
    {% endblock %}
    