templates/blocks/form.html.twig line 1

Open in your IDE?
  1. <div class="customform">
  2.     {% if view.main_content[loop.index0].form.entity %}
  3.         {% if app.request.get('send') != 'true' %}
  4.             {# FORM THEME #}
  5.             {% form_theme block.form '/dynamic_custom.html.twig' %}
  6.             {{ form(block.form, {'attr': {'class':'customform contactForm dflex jcc' }}) }}
  7.         {% else %}
  8.             {{ view.main_content[loop.index0].form.entity.successText|raw }}
  9.         {% endif %}
  10.     {% endif %}
  11. </div>