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.     {% block breadcrumb %}
  6.         {% include 'bundles/SyliusShopBundle/Register/_breadcrumb.html.twig' %}
  7.     {% endblock %}
  8.     {% include '@SyliusShop/Register/_header.html.twig' %}
  9.     {{ sylius_template_event('sylius.shop.register.after_content_header') }}
  10.     <div class="ui padded segment">
  11.         {{ sylius_template_event('sylius.shop.register.before_form') }}
  12.         {{ form_start(form, {'action': path('sylius_shop_register') ~ '?t=' ~ app.request.query.get('t'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
  13.             {% include 'bundles/SyliusShopBundle/Register/_form.html.twig' %}
  14.             {{ sylius_template_event('sylius.shop.register.form', {'form': form}) }}
  15.             <button type="submit" class="ui large primary button" {{ sylius_test_html_attribute('register-button') }}>
  16.                 {{ 'sylius.ui.create_an_account'|trans }}
  17.             </button>
  18.         {{ form_row(form._token) }}
  19.         {{ form_end(form, {'render_rest': false}) }}
  20.     </div>
  21. {% endblock %}