templates/document/document.html.twig line 37

Open in your IDE?
  1. {% extends 'document.html.twig' %}
  2. {% block main_content %}
  3.   
  4.   {% if editmode %}
  5.   <div style="height:100px;"></div>
  6.   {% endif %}
  7.            
  8.   {% set contentBlock1 = pimcore_block('contentblock1') %}    
  9.   {% for i in pimcore_block('contentblock1').iterator %}   
  10.     {% if editmode %}
  11.       {{ pimcore_select('blocktype', {
  12.           "store": [
  13.               ["panel-12-with-headlines", "1-spaltig mit Headlines"],
  14.               ["panel-12", "1-spaltig volle Breite"],
  15.               ["panel-6-6", "2-spaltig, 50/50 Aufteilung"],
  16.               ["panel-6-6-slidein", "2-spaltig animierte Boxen"],
  17.               ["panel-6-6-circles", "2-spaltig runder Hintergrund"],
  18.               ["panel-4-8", "2-spaltig, 30/70 Aufteilung"],
  19.               ["panel-3-3-3-3", "4-spaltig"],
  20.               ["panel-slider-gallery", "Bildergalerie"],
  21.               ["panel-booking", "Buchungstool toubiz.de"],
  22.               ["horizontal-line", "Horizontale Linie"]
  23.           ],
  24.           "defaultValue": "panel-12",
  25.           "width": 300,
  26.           "reload": true
  27.       }) }}
  28.     {% endif %}
  29.   
  30.     {% if not pimcore_select('blocktype').isEmpty() %}          
  31.         {{ include('_includes/content-blocks/' ~ pimcore_select('blocktype').getData() ~ '.html.twig') | replace({'7SCHWABEN': '<strong class="condensed"><span class="red">7</span>SCHWABEN</strong>'}) | raw }}          
  32.     {% endif %}
  33.   {% endfor %}
  34.   {{ include('_includes/apartmentsSlider.html.twig') }}
  35. {% endblock %}