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

Open in your IDE?
  1. {% set isRepeater = constant('MoorlForms\\MoorlForms::REPEATER_INDICATOR') %}
  2. {% set isChecked = constant('MoorlForms\\MoorlForms::CHECKED_INDICATOR') %}
  3. {% if not parentElementId %}
  4.     {% set parentElementId = "fb-#{form.id}" %}
  5. {% endif %}
  6. {% set sectionClasses = [] %}
  7. <div data-moorl-fb-root
  8.      id="{{ parentElementId }}"
  9.      class="moorl-fb-root"
  10.      style="{{ fb_stylesheet(form)|join(";") }}">
  11.     {% for treeItem in children %}
  12.         {% sw_include "@MoorlForms/plugin/moorl-fb/component/element/#{treeItem.element.type}.html.twig" ignore missing with {
  13.             element: treeItem.element,
  14.             children: treeItem.children
  15.         } %}
  16.     {% endfor %}
  17. </div>