vendor/dachcom-digital/formbuilder/src/FormBuilderBundle/Resources/views/form/form.html.twig line 1

Open in your IDE?
  1. {% extends form_layout %}
  2. {% block form_builder_form %}
  3.     {% if form_template is not null %}
  4.         {% import form_block_template as form_builder_theme_macro %}
  5.         {% form_theme form form_template %}
  6.         {{ form_start(form) }}
  7.             {{ form_builder_theme_macro.form_builder_form_head() }}
  8.                 {% set flashMessages = form_builder_get_flash_messages(form.vars.id) %}
  9.                 {{ form_builder_theme_macro.form_builder_form_message(flashMessages) }}
  10.                 {{ form_widget(form) }}
  11.             {{ form_builder_theme_macro.form_builder_form_foot() }}
  12.         {{ form_end(form) }}
  13.     {% elseif message is defined and form_builder_is_admin_mode is defined and form_builder_is_admin_mode == true %}
  14.         <div class="formbuilder-alert-danger">{{ 'form builder error: ' ~ message }}</div>
  15.     {% endif %}
  16. {% endblock form_builder_form %}