{% extends 'base.html.twig' %}
{% block title %}<title>Inscription</title>{% endblock %}
{% block style %}
{{ parent() }}
{% include "css/registration-critical-css.html.twig" %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'previews_css'} %}
{% endblock %}
{% block content %}
<nav class="breadcrumb dflex aic fwwrap ptb-1p25em">
<div class="diblock home-icon">{{ source('svg/home-icon.html.twig') }}</div>
<a href="{{ sulu_content_root_path() }}" class="fw400 fs14 lh20 cblue p8">Accueil</a>
<div class="diblock chevron">{{ source('svg/crevron-right.html.twig') }}</div>
<div class="fw400 fs14 lh20 diblock cblue p8">Inscription</div>
</nav>
<div class="container registration dflex mb-40px main-container">
{% if app.request.get('send') == 'true' %}
<div class="registration-form-container mlr-1em cblue">
Pour compléter votre inscription, veuillez cliquer sur le lien dans le mail qui a été envoyé.
</div>
{% else %}
{{ form_start(form) }}
{% include "community/registration-form-setting.html.twig" with {formType: "registration"} %}
{{ form_end(form, {render_rest: false}) }}
{% endif %}
<div class="img-container prelative">
<img src="/resources/img/profile-registration-img/image-formulaire-2.webp" srcset="/resources/img/profile-registration-img/image-formulaire-2-300x.webp 300w, /resources/img/profile-registration-img/image-formulaire-2-600x.webp 600w, /resources/img/profile-registration-img/image-formulaire-2-1000x.webp 1000w" alt="image décorative" width="1440" height="500">
<div class="background-color-orange"></div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('profile_type') }}
{{ encore_entry_script_tags('registration_type') }}
{{ encore_entry_script_tags('showpass') }}
{{ parent() }}
{% endblock %}