var/cache/dev/twig/fc/fcae4fb37fca7e50b21847bf7bd36921.php line 62

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* areas/product-teaser/view.html.twig */
  14. class __TwigTemplate_42aac8a9192eaad87f85f0225bf7f960 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-teaser/view.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-teaser/view.html.twig"));
  33.         // line 1
  34.         echo "<section class=\"teaser-row-container pt-5 pb-3 bg-light text-center\">
  35.     <div class=\"container\">
  36.         <h2>";
  37.         // line 3
  38.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""productTeaserTitle", ["placeholder" => "Enter Title"]);
  39.         echo "</h2>
  40.         <div class=\"row mb-3 text-left\">
  41.             ";
  42.         // line 5
  43.         $context['_parent'] = $context;
  44.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""teaserblock", ["class" => "row11"])));
  45.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  46.             // line 6
  47.             echo "                <div class=\"";
  48.             echo (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'6$this->source); })())) ? ("") : ("col-md-4 d-flex align-items-stretch flex-column"));
  49.             echo "\">
  50.                     ";
  51.             // line 7
  52.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"renderlet""productTeaser", ["type" => "object""editmode" =>             // line 10
  53. (isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'10$this->source); })()), "controller" => "App\\Controller\\ProductController::productTeaserAction""title" => "Drag a product here""height" => "auto""width" => "100%"]);
  54.             // line 16
  55.             echo "
  56.                 </div>
  57.             ";
  58.         }
  59.         $_parent $context['_parent'];
  60.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  61.         $context array_intersect_key($context$_parent) + $_parent;
  62.         // line 19
  63.         echo "        </div>
  64.     </div>
  65. </section>";
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.     }
  71.     public function getTemplateName()
  72.     {
  73.         return "areas/product-teaser/view.html.twig";
  74.     }
  75.     public function isTraitable()
  76.     {
  77.         return false;
  78.     }
  79.     public function getDebugInfo()
  80.     {
  81.         return array (  72 => 19,  64 => 16,  62 => 10,  61 => 7,  56 => 6,  52 => 5,  47 => 3,  43 => 1,);
  82.     }
  83.     public function getSourceContext()
  84.     {
  85.         return new Source("<section class=\"teaser-row-container pt-5 pb-3 bg-light text-center\">
  86.     <div class=\"container\">
  87.         <h2>{{ pimcore_input('productTeaserTitle', {'placeholder':'Enter Title'}) }}</h2>
  88.         <div class=\"row mb-3 text-left\">
  89.             {% for i in pimcore_iterate_block(pimcore_block('teaserblock',{class:'row11'})) %}
  90.                 <div class=\"{{ editmode ? '' : 'col-md-4 d-flex align-items-stretch flex-column' }}\">
  91.                     {{
  92.                         pimcore_renderlet('productTeaser', {
  93.                             type: 'object',
  94.                             editmode: editmode,
  95.                             controller: 'App\\\\Controller\\\\ProductController::productTeaserAction',
  96.                             title: 'Drag a product here',
  97.                             height : 'auto',
  98.                             width: '100%'
  99.                         })
  100.                     }}
  101.                 </div>
  102.             {% endfor %}
  103.         </div>
  104.     </div>
  105. </section>""areas/product-teaser/view.html.twig""/usr/local/www/apache24/data/pimcore.3.uniquos.digital/pimcore/templates/areas/product-teaser/view.html.twig");
  106.     }
  107. }