custom/plugins/GbmedForm/src/Resources/views/storefront/page/content/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
  2. {% block page_content_blocks %}
  3.     {% set formular =  page.cmsPage.extensions.gbmedForm.type %}
  4.     {% if formular %}
  5.         {% block page_content_blocks_gbmed_form %}
  6.             {% sw_include "@Storefront/storefront/formular/" ~ formular ~ ".html.twig" with {
  7.                 element: page.cmsPage.extensions.gbmedForm
  8.             } %}
  9.         {% endblock %}
  10.     {% else %}
  11.         {% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': page.cmsPage} %}
  12.     {% endif %}
  13. {% endblock %}