{% load static i18n widget_tweaks %}<!DOCTYPE html>
<html class="bg-black">
<head>
    <meta charset="UTF-8">
    <title>RealEstate | Log in</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <!-- bootstrap 3.0.2 -->
    <link href="{% static 'admin/css/bootstrap.min.css' %}" rel="stylesheet" type="text/css"/>
    <!-- font Awesome -->
    <link href="{% static 'admin/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css"/>
    <!-- Theme style -->
    <link href="{% static 'admin/css/AdminLTE.css' %}" rel="stylesheet" type="text/css"/>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
</head>
<body class="bg-black">

<div class="form-box" id="login-box">
    <div class="header">{% trans "Sign In" %}</div>
    <form action="" method="post">{% csrf_token %}
        <div class="body bg-gray">
            {% if form.errors %}
                <ul>
                    {% for field, errors in form.errors.items %}
                        {% for error in errors %}
                            <li>{{ error }}</li>
                        {% endfor %}
                    {% endfor %}
                </ul>
            {% endif %}
            <div class="form-group">
                {% render_field form.username class+='form-control' placeholder=form.username.label %}
            </div>
            <div class="form-group">
                {% render_field form.password class+='form-control' placeholder=form.password.label %}
            </div>
        </div>
        <div class="footer">
            <button type="submit" class="btn bg-olive btn-block">{% trans "Sign In" %}</button>
        </div>
    </form>

</div>


<!-- jQuery 2.0.2 -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="{% static 'admin/js/bootstrap.min.js' %}" type="text/javascript"></script>

</body>
</html>