{% extends "layout.jinja2" %}

{% block content %}

    <div class="d-flex align-items-center justify-content-center w-100">
    <div class="row justify-content-center w-100">
        <div class="col-md-8 col-lg-6 col-xxl-3">
        <br><br>
        <div class="card mb-0">
            <div class="card-body">
            <h5 class="text-center">Se connecter</h5>
            <form action="{{ login_url }}" method="post">
                <input type="hidden" name="came_from" value="{{ came_from }}" />
                <div class="mb-3">
                <label for="username" class="form-label">Identifiant</label>
                <input type="text" class="form-control" name="username" aria-describedby="username">
                </div>
                <div class="mb-4">
                    <label for="password" class="form-label">Mot de passe</label>
                    <input type="password" class="form-control" name="password">
                </div>
                <div class="form-group">
                    <input type="submit" name="form.submitted" value="Se connecter" class="btn btn-primary">
                </div>
            </form>
            </div>
        </div>
        <br><br><br><br><br>
        </div>
    </div>
 


</div>

{% endblock %}
