{% extends 'client_activate/layout.html.twig' %}
{% block body %}
<div {{ stimulus_controller('activate') }}></div>
<div id="container-subscription">
<div id="banner">
<img src="{{ asset('build/img/macarteetmoi.png') }}"/>
<img class="hide-for-small-only" src="{{ asset('build/img/macarteetmoi.png') }}"/>
</div>
<div class="row" id="subscription-content">
<h2>Formulaire
<strong>carte de fidélité</strong>
</h2>
<hr>
<p>MACARTE&moi</p>
{% set errors = app.session.flashbag.get('error') %}
{% if errors is not empty %}
{% for error in errors %}
<div class="callout alert" data-closable>
<button class="close-button" aria-label="Dismiss alert" type="button" data-close>
<span aria-hidden="true">×</span>
</button>
{{ error }}
</div>
{% endfor %}
{% endif %}
<div class="container-fluid registration-page">
<div class="row">
{% include 'Common/messages.html.twig' %}
{{ form_start(form, {method:'post'}) }}
<div class="row">
<div class="large-5 columns"></div>
<div class="large-5 columns">
{{form_row(form.magasin)}}
</div>
</div>
<div class="row">
<div class="large-5 columns">
{{form_row(form.civilite)}}
</div>
</div>
<div class="row">
<div class="large-5 columns">
{{form_row(form.nom)}}
</div>
<div class="large-5 columns">
{{form_row(form.prenom)}}
</div>
</div>
<div class="row">
<div class="large-5 columns">
{{form_row(form.dateNaissance)}}
</div>
<div class="large-5 columns">
{{form_row(form.telephoneMobile)}}
</div>
</div>
<div class="row">
<div class="large-11 columns">
{{form_row(form.email)}}
</div>
</div>
<div class="row">
<div class="large-5 columns">
{{form_row(form.numero)}}
</div>
<div class="large-5 columns">
{{form_row(form.voie)}}
</div>
</div>
<div class="row">
<div class="large-5 columns">
{{form_row(form.ville)}}
</div>
<div class="large-5 columns">
{{form_row(form.codepostal)}}
</div>
</div>
<div class="row">
<div class="large-5 columns">
{{form_row(form.codePaysClient)}}
</div>
</div>
<div class="row">
<div class="large-10 columns">
{{form_row(form.cgv)}}
</div>
</div>
<div class="row">
<div class="large-10 columns">
{{form_row(form.envoieSmsInterne)}}
</div>
</div>
<div class="row">
<div>
<div class="small-12 medium-5 small-centered columns">
<div class="h-captcha" data-sitekey="e6633992-177c-41b9-89ba-ee49d9a870ec"></div>
</div>
</div>
</div>
<div class="row">
<div class="small-12 medium-4 small-centered columns text-center">
{{form_row(form.submit)}}
</div>
</div>
{{ form_end(form) }}
</div>
<div></div>
</div>
</div>
<script src='https://www.hCaptcha.com/1/api.js' async defer></script>
{% endblock %}