{% extends "frontend/frontend.html.twig" %}
{% block meta_title %}{{ 'frontend.page.register.step_2.title'|trans({}, "seo") }}{% endblock %}
{% block meta_desc %}{{ 'frontend.page.register.step_2.desc'|trans({}, "seo") }}{% endblock %}
{% block body_content %}
<div class="registration-form">
<div class="landing-header">
<h1 class="titre05">
{{ 'Inscrivez-vous'|trans }}
<span>{{ 'pour gagner du temps' | trans }}</span>
</h1>
</div>
<div class="register_step" id="register_step_2">
<div>
<h2 class="titre02 paddingB20 bold">{{ 'Inscription'|trans }}</h2>
<p>{{ "Pour gagner du temps lors d'une prochaine vente, nous vous invitons à créer votre compte en ligne."|trans }}</p>
<p class="marginT20 marginB20">{{ 'Ces informations seront utilisées par nos services pour établir le certificat de vente et réaliser la déclaration SIV de votre achat.'|trans }}</p>
{{ form_start(form) }}
<div class="form-group">
{{ form_label(form.lastname) }}
<span class="global-errors-container">{{ form_errors(form.lastname) }}</span>
{{ form_widget(form.lastname, {'attr': {'class': 'form-control'}}) }}
</div>
<div class="form-group">
{{ form_label(form.firstname) }}
<span class="global-errors-container">{{ form_errors(form.firstname) }}</span>
{{ form_widget(form.firstname, {'attr': {'class': 'form-control'}}) }}
</div>
<div class="form-group">
{{ form_label(form.email) }}
<span class="global-errors-container">{{ form_errors(form.email) }}</span>
{{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
</div>
<div class="form-group">
{{ form_label(form.plainPassword) }}
<span class="global-errors-container">{{ form_errors(form.plainPassword) }}</span>
{{ form_widget(form.plainPassword, {'attr': {'class': 'form-control'}}) }}
</div>
<div class="search-list">
<p>
{{ form_label(form.country) }}
<span class="global-errors-container">{{ form_errors(form.country) }}</span>
<span class="bg-select block">
{{ form_widget(form.country) }}
</span>
</p>
</div>
<div class="search-list">
<p>
{{ form_label(form.referralSource) }}
<span class="global-errors-container">{{ form_errors(form.referralSource) }}</span>
<span class="bg-select block">
{{ form_widget(form.referralSource) }}
</span>
</p>
</div>
<div class="clearfix flex">
<span class="input-checkbox03 no-flex-shrink">{{ form_widget(form.newsletter) }}</span>
{{ form_label(form.newsletter) }}
</div>
<p>{{ 'frontend.page.register.step_2.recaptcha.title'|trans }}</p>
<div>
<span class="global-errors-container">{{ form_errors(form.recaptcha) }}</span>
{{ form_widget(form.recaptcha) }}
</div>
<p class="color01">{{ 'frontend.landing.newsletter-registration.content.text03'|trans({}, 'landing') }}</p>
<div class="gdpr">
{{ 'frontend.page.register.step_2.recaptcha.gdpr'|trans({
'%url%': path('frontend_privacy_policy'),
'%validate%': 'Valider'|trans
})|raw }}
</div>
<div class="right">
{{ form_row(form.submit) }}
</div>
<div class="clearfix"></div>
{{ form_rest(form) }}
{{ form_end(form) }}
</div>
<div id="benefits" class="tab-p-100 m-100">
{% include('frontend/registration/_benefits.html.twig') %}
</div>
</div>
</div>
<!--Footer -->
{% if (app.user is not null and app.user is pro) or 'pro' == app.session.get('dimension') %}
{% include 'frontend/footer_pro.html.twig' %}
{% else %}
{% include 'frontend/footer.html.twig' %}
{% endif %}
<!-- FIN Footer -->
{% endblock body_content %}