{% extends 'layouts/base.html' %}

{% load i18n %}
{% load pyaa %}

{% block content %}

<div class="container mx-auto px-4 py-8 max-w-xl">
    <h1 class="text-2xl font-bold text-center mb-6">
        {% translate "title.contact" %}
    </h1>

    <form method="POST" novalidate data-prevent-double-submit>
        {% csrf_token %}
        {% element fields form=form %}
        {% endelement %}

        <button type="submit" class="btn btn-primary w-full mt-4">
            <i class="fa-solid fa-paper-plane mr-2"></i>
            {% translate "button.send" %}
        </button>
    </form>
</div>

{% endblock content %}
