vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/Contact/request.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.contact_us'|trans }} | {{ parent() }}{% endblock %}
  4. {% block content %}
  5. <div class="ui hidden divider"></div>
  6. <div class="ui two column centered stackable grid">
  7. <div class="column">
  8. <h1 class="ui header">
  9. <i class="circular mail icon"></i>
  10. <div class="content">
  11. {{ 'sylius.ui.contact_us'|trans }}
  12. <div class="sub header">{{ 'sylius.ui.use_the_contact_form_below_to_send_us_a_message'|trans }}</div>
  13. {{ sylius_template_event('sylius.shop.contact.request.after_content_header') }}
  14. </div>
  15. </h1>
  16. <div class="ui segment">
  17. {{ form_start(form, {'action': path('sylius_shop_contact_request'), 'attr': {'class': 'ui large loadable form', 'novalidate': 'novalidate'}}) }}
  18. {{ form_row(form.email, sylius_test_form_attribute('contact-email')) }}
  19. {{ form_row(form.message, sylius_test_form_attribute('contact-message')) }}
  20. {{ sylius_template_event('sylius.shop.contact.request.form', {'form': form}) }}
  21. {{ form_row(form._token) }}
  22. <button type="submit" class="ui fluid large primary submit button" {{ sylius_test_html_attribute('send-button') }}>{{ 'sylius.ui.send'|trans }}</button>
  23. {{ form_end(form, {'render_rest': false}) }}
  24. </div>
  25. </div>
  26. </div>
  27. {% endblock %}