{% extends request.content_only|yesno:"empty.html,base.html" %}

{% load crispy_forms_filters i18n %}

{% block content %}
    <form method="post"  enctype="multipart/form-data">
        <div id="form-content">
            <div class="alert alert-info text-justify">
            <p>
                {% blocktrans trimmed with price=payment.registration.team.participation.tournament.price %}
                    The price of the tournament is {{ price }} €. The participation fee is offered for coaches
                    and for students who have a scholarship. If so, please send us your scholarship attestation.
                {% endblocktrans %}
            </p>

            <p>
                {% blocktrans trimmed %}
                    You can pay with a credit card through
                    <a class="alert-link" href="https://www.helloasso.com/associations/animath/evenements/tfjm-2023-tournois-regionaux">our Hello Asso page</a>.
                    To make the validation of the payment easier, <span class="text-danger">please use the same e-mail
                    address that you use on this platform.</span> The payment verification will be checked automatically
                    under 10 minutes, you don't necessary need to fill this form.
                {% endblocktrans %}
            </p>

            <p>
                {% blocktrans trimmed %}
                    You can also send a bank transfer to the bank account of Animath. You must put in the reference of the
                    transfer the mention "TFJMpu" followed by the last name and the first name of the student.
                {% endblocktrans %}
            </p>

            <p>
                IBAN : FR76 1027 8065 0000 0206 4290 127<br>
                BIC : CMCIFR2A
            </p>

            <p>
                {% blocktrans trimmed %}
                    If any payment mean is available to you, please contact us at <a class="alert-link" href="mailto:contact@tfjm.org">contact@tfjm.org</a>
                    to find a solution to your difficulties.
                {% endblocktrans %}
            </p>
            </div>

            {% csrf_token %}
            {{ form|crispy }}
        </div>
        <button class="btn btn-primary" type="submit">{% trans "Update" %}</button>
    </form>
{% endblock content %}

