{% extends "djadmin2theme_bootstrap3/base.html" %}
{% load i18n staticfiles admin2_tags %}

{% block navbar %}{% endblock navbar %}
{% block breacrumbs %}{% endblock breacrumbs %}

{% block page_header %}{% endblock page_header %}

{% block content %}
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Custom login view</h3>
                    </div>
                    <div class="panel-body">
                        <form method="post" class="">
                            {% csrf_token %}
                            {{ form }}
                            <input type="hidden" name="this_is_the_login_form" value="1"/>
                            <input type="hidden" name="next" value="{{ next }}"/>
                            <button class="btn btn-lg btn-success btn-block" type="submit">
                                {% trans "Log in" %}
                            </button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock content %}
