{% extends "base.html" %}

{% block title %}Log In - Roster{% endblock %}

{% block content %}
<div class="container py-5">
    <div class="row justify-content-center">
        <div class="col-md-6 col-lg-5">
            <div class="card border-0 shadow-sm p-4">
                <h2 class="brand-font text-center mb-4">Welcome back</h2>
                <form method="post">
                    {% csrf_token %}
                    <div class="mb-3">
                        <label class="form-label">Username</label>
                        <input type="text" name="username" class="form-control" required>
                    </div>
                    <div class="mb-3">
                        <label class="form-label">Password</label>
                        <input type="password" name="password" class="form-control" required>
                    </div>
                    <button type="submit" class="btn btn-primary-cg w-100">Log In</button>
                </form>
                <div class="text-center mt-3">
                    <p class="small text-muted">Don't have an account? <a href="{% url 'signup' %}">Get Started</a></p>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
