{% extends "base.html" %} {% load i18n %} {% load crispy_forms_tags %}

{% block title %}{% trans 'Log in' %}{% endblock %}
{% block header %}{% trans 'Log in' %}{% endblock %}
{% block byline %}{% trans 'Please fill in your credentials' %}{% endblock %}

{% block extra_css%}
<style>
    .login p {
        margin-left: 40px;
    }
</style>
{% endblock %}

{% block content %}
<!-- Main Content -->
<section class="row">
    <section class="login">
        <form method="post" action=".">
            {% csrf_token %} {{ form|crispy}}

            <div class="submit-group">
                <input type="submit" value="{% trans 'Log in' %}"/>
                <input type="hidden" name="next" value="{{ next }}"/>
            </div>
        </form>
        <p>new user? <a href="{{ site_settings.SUBSCRIBE_HREF }}">register now!</a></p>
        <p><a href="{% url 'password_reset_recover' %}">forgot your password?</a></p>
    </section>
</section>
{% endblock %}
