{% extends '@RxConnexion/Layouts/global.html.twig' %}

{% block body %}

    <style>
        body {
            background-image: url('{{ asset('bundles/rxgrab/images/register-success-bg.jpg') }}');
            background-attachment: fixed;
            background-repeat: no-repeat;
            background-size: cover;
        }
    </style>

    {% include '@RxConnexion/Layouts/fixed_header_only.html.twig' %}

    <div class="row">
        <div class="xxlarge-12 xlarge-12 large-12 medium-12 small-12 columns">
            <div style="background: rgba(255, 255, 255, 0.75); border-radius: 10px; padding: 20px; margin: 20px;">

                {% if success %}

                    <p>Email confirmation successful!</p>
                    <p>Our representative will contact you as soon as possible for verification and evaluation of your registration.</p>
                    <p>Thank you.</p>

                {% else %}

                    <p>Error</p>

                {% endif %}

            </div>
        </div>
    </div>

{% endblock %}