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

{% block content %}
  <div class="container">
    <div class="row vertical-offset-100">
      <div class="col-md-4 col-md-offset-4">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">Please sign in</h3>
          </div>
          <div class="panel-body">
            <img class="logo" src="{% static 'logo.svg' %}">
            <form method="POST">
              <fieldset>
                {% csrf_token %}
                {{ form|crispy }}

                <input class="btn btn-lg btn-dark btn-block" type="submit" value="Login">
                <div class="register">
                  <p>Don't have an account? <a href="{% url 'signup' %}">Register here</a></p>
                </div>
              </fieldset>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
{% endblock %}
