{% extends 'base_structure/layout/base_authentication_template.html' %}

{% load static %}
{% block content %}


<div class="card mt-3 mb-3">
    <div class="card-header">
        <h2>Sign In</h2>
        <p>Enter your email and password to login</p>
        {% include 'base_structure/elements/message.html' %}
    </div>
    <div class="card-body">

        <div class="row">
            
            <form method="POST">
                {% csrf_token %}
                {% include 'base_structure/includes/dynamic_template_form.html' with form=form %}
                <div class="d-flex align-items-center justify-content-between mb-3">
                    <a class="small" href="{% url 'module_auth:password_reset'%}">Forgot Password?</a>
                </div>
                <div class="col-12">
                    <div class="mb-4">
                        <button type="submit" class="btn btn-secondary w-100">LOGIN</button>
                    </div>
                </div>
            </form>
        </div>
        
    </div>
</div>

{% endblock content%}

{% block javascript %}
    <!-- include required js cdn link through html here -->
    
{% endblock %}