{% extends 'index.html' %}
{% block style %}
    {{ super() }}
    <link rel="stylesheet" href='{% static "css/inscription/inscription.css" %}'>
    <link rel="stylesheet" href='{% static "css/inscription/inscription-label.css" %}'>
{% endblock %}
{% block content %}
    <h1>{{ title }}</h1>

    {% block message %}
        {% messages %}
    {% endblock %}
    <div id="form">
        <form method="post" action="/inscription">
            <!-- Les erreurs individuelles s'affichent automatiquement sous chaque champ -->
            {% form.inscription_form %}
            <button type="submit">Sign up</button>
        </form>

        <div class="text-center mt-3">
            <a href="/">← Back home</a>
        </div>
    </div>
{% endblock %}