templates/bundles/SyliusShopBundle/register.html.twig line 1

Open in your IDE?
  1. {% extends '@SyliusShop/layout.html.twig' %}
  2. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  3. {% block title %}{{ 'sylius.ui.register_in_the_store'|trans }} | {{ parent() }}{% endblock %}
  4. {% block content %}
  5.     <section class="formulaire container-h">
  6.         <div class="" id="container-form">
  7.             <h1>Créez votre compte sur Bikers Avenue</h1>
  8.             <p>
  9.                 Rejoignez notre communauté et profitez de tous nos avantages : acheter et vendre, événements, infos.
  10.             </p>
  11.             <div class="ui padded segment">
  12.                 {{ sylius_template_event('sylius.shop.register.before_form') }}
  13.                 {{ form_start(form, {'action': path('sylius_shop_register'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
  14.                 {% include '@SyliusShop/Register/_form.html.twig' %}
  15.                 {{ sylius_template_event('sylius.shop.register.form', {'form': form}) }}
  16.                 <button type="submit" class="ui large primary button" {{ sylius_test_html_attribute('register-button') }}>
  17.                     {{ 'sylius.ui.create_an_account'|trans }}
  18.                 </button>
  19.                 {{ form_row(form._token) }}
  20.                 {{ form_end(form, {'render_rest': false}) }}
  21.             </div>
  22.         </div>
  23.     </section>
  24.     <style>
  25.         .container-h{
  26.             margin-top: 25px;
  27.             }
  28.     </style>
  29. {% endblock %}