{% extends '@SyliusShop/layout.html.twig' %}
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
{% block title %}{{ 'sylius.ui.register_in_the_store'|trans }} | {{ parent() }}{% endblock %}
{% block content %}
<section class="formulaire container-h">
<div class="" id="container-form">
<h1>Créez votre compte sur Bikers Avenue</h1>
<p>
Rejoignez notre communauté et profitez de tous nos avantages : acheter et vendre, événements, infos.
</p>
<div class="ui padded segment">
{{ sylius_template_event('sylius.shop.register.before_form') }}
{{ form_start(form, {'action': path('sylius_shop_register'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
{% include '@SyliusShop/Register/_form.html.twig' %}
{{ sylius_template_event('sylius.shop.register.form', {'form': form}) }}
<button type="submit" class="ui large primary button" {{ sylius_test_html_attribute('register-button') }}>
{{ 'sylius.ui.create_an_account'|trans }}
</button>
{{ form_row(form._token) }}
{{ form_end(form, {'render_rest': false}) }}
</div>
</div>
</section>
<style>
.container-h{
margin-top: 25px;
}
</style>
{% endblock %}