{% extends "site_base.html" %}

{% load url from future %}
{% load i18n %}
{% load bootstrap_tags %}

{% block head_title %}{% trans "Log in" %}{% endblock %}

{% block body %}
<div class="row-fluid">
  <div class="span12">
    <div class="content">
        <form method="POST" action="{% url "account_login" %}" autocapitalize="off" class="form-horizontal"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %} id="login-form">
            <legend>{% trans "Log in to an existing account" %}</legend>
            {% csrf_token %}
            {{ form|as_bootstrap }}
            {% if redirect_field_value %}
                <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
            {% endif %}
            <div class="form-actions">
                <a href="{% url "account_password_reset" %}" class="btn">{% trans "Forgot your password?" %}</a>
                <button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
            </div>
        </form>
    </div>
  </div>
</div>
{% endblock %}

{% extends "content_base.html" %}

{% load url from future %}
{% load i18n %}
{% load bootstrap_tags %}

{% block head_title %}{% trans "Log in" %}{% endblock %}

{% block one_column %}
<form method="POST" action="{% url "account_login" %}" autocapitalize="off" class="form-horizontal"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %} id="login-form">
  <legend>{% trans "Log in to an existing account" %}</legend>
  {% csrf_token %}
  {{ form|as_bootstrap }}
  {% if redirect_field_value %}
  <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
  {% endif %}
  <div class="form-actions">
    <a href="{% url "account_password_reset" %}" class="btn">{% trans "Forgot your password?" %}</a>
    <button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
  </div>
</form>
{% endblock %}

Fix layout of log in page
Fix layout of log in page
