{% 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 %}
{% block breadcrumb %}
{% include 'bundles/SyliusShopBundle/Register/_breadcrumb.html.twig' %}
{% endblock %}
{% include '@SyliusShop/Register/_header.html.twig' %}
{{ sylius_template_event('sylius.shop.register.after_content_header') }}
<div class="ui padded segment">
{{ sylius_template_event('sylius.shop.register.before_form') }}
{{ form_start(form, {'action': path('sylius_shop_register') ~ '?t=' ~ app.request.query.get('t'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
{% include 'bundles/SyliusShopBundle/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>
{% endblock %}