{% extends "bases/base.html" %}

{% block title %}Login ⋅ {% endblock title %}
{% block styles %}
<link rel="stylesheet" type="text/css" href="/styles/login.css">
{% endblock styles %}

{% block content %}
    <main>
        {% if error %}
        <p>
            {{ error }}
        </p>
        {% endif %}
        <form method="POST" action="/login">
            <label for="email">Adresse e-mail</label>
            <input type="email" id="email" name="email">
            <label for="password">Mot de passe</label>
            <input type="password" id="password" name="password">
            <input type="submit" value="Se connecter">
        </form>
    </main>
{% endblock content %}