custom/plugins/MoorlForms/src/Resources/views/plugin/moorl-fb/component/form/form.html.twig line 1

Open in your IDE?
  1. {% if not path %}{% set path = 'moorl-fb-form.submit' %}{% endif %}
  2. {% if not pathParameters %}{% set pathParameters = {} %}{% endif %}
  3. <form data-moorl-fb-form
  4.       data-moorl-fb-form-options='{{ {
  5.           debug: (form.type == 'test'),
  6.           useAjax: true,
  7.           formId: form.id
  8.       }|json_encode }}'
  9.       data-form-xhr="true"
  10.       action="{{ seoUrl(path, pathParameters) }}"
  11.       method="post"
  12.       enctype="multipart/form-data"
  13.       data-form-csrf-handler="true"
  14.       data-form-validation="true">
  15.     {{ sw_csrf(path) }}
  16.     {% sw_include "@MoorlForms/plugin/moorl-fb/component/form/form-hidden-fields.html.twig" %}
  17.     {% sw_include "@MoorlForms/plugin/moorl-fb/component/form/form-content.html.twig" %}
  18.     <input type="submit" class="submit--hidden d-none" />
  19. </form>