{% extends "base.html" %}

{% load static %}

{% load crispy_forms_tags %}

{% block content %}


    <div class="sufee-login d-flex align-content-center flex-wrap">
        <div class="container" >
            <div class="login-content">
                <div class="login-logo">
                    <a href="{% url 'index' %}">
                        <img class="align-content" src="/static/images/logocsv2.png" alt="">
                    </a>
                </div>
                <div class="login-form">
                  
                    <form method="POST" action="" class="mt-2" autocomplete="off">
                        {% csrf_token %}
                        {{ form|crispy }}
                        <button type="submit" class="btn btn-success">Iniciar Sesion</button>

                        <div class="register-link m-t-15 text-center">
                            <p>No tienes una cuenta? <a href="{% url 'registro' %}"> Registrate</a></p>
                            <p>Olvidaste tu contraseña? <a href="{% url 'reset_password' %}"> Recuperala</a></p>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>

    {% endblock content %}