{% extends "base.html" %}

{% block card %}
    <div class="section" style="display:inline; margin: 0 0 0 0.2rem; padding-top: 0px;">
{#        <a style="float: right;" href="{% url 'slat_projects:create_project' %}" class="tooltipped" data-tooltip="Create Project">Create Project<i style="font-size: 1.5rem; float: right;" class="material-icons">add</i></a>#}
        {% if previous_page %}
            <a style="float: left;" href="{{ previous_page }}" class="tooltipped" data-tooltip="Previous Page"><i class="material-icons">keyboard_backspace</i></a>
        {% endif %}
        <h4 style="display:inline; margin-left: 1.5rem;">Login</h4>
        <div class="divider"></div>
    </div>

    <form method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit" class="waves-effect waves-light btn">Login</button>
    </form>
{% endblock %}
