var/cache/dev/twig/d8/d81787624cddc6e67a97f53c415abf1a.php line 61

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. /* @SyliusShop/Product/Index/_sidebar.html.twig */
  14. class __TwigTemplate_85ec1801e81429489959c8a3547f6f47 extends \Twig\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""@SyliusShop/Product/Index/_sidebar.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""@SyliusShop/Product/Index/_sidebar.html.twig"));
  33.         // line 1
  34.         echo "<div >
  35.     ";
  36.         // line 3
  37.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.index.search.with_input"$context);
  38.         echo "
  39.     ";
  40.         // line 4
  41.         $context["slug"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "attributes", [], "any"falsefalsefalse4), "get", [=> "slug"], "method"falsefalsefalse4);
  42.         // line 5
  43.         echo "    <div class=\"title-state-div\">
  44.         <h4>Catégories</h4>
  45.     </div>
  46. ";
  47.         // line 9
  48.         echo "    <div class=\"div-category-bar\">
  49.         ";
  50.         // line 10
  51.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_show_by_slug", ["slug" => "homme""template" => "@SyliusShop/Taxon/_verticalMenu.html.twig"]));
  52.         // line 13
  53.         echo "
  54.         ";
  55.         // line 14
  56.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_show_by_slug", ["slug" => "femme""template" => "@SyliusShop/Taxon/_verticalMenu.html.twig"]));
  57.         // line 17
  58.         echo "
  59.         ";
  60.         // line 18
  61.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_show_by_slug", ["slug" => "Pieces-moto""template" => "@SyliusShop/Taxon/_verticalMenu.html.twig"]));
  62.         // line 21
  63.         echo "
  64.         ";
  65.         // line 22
  66.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_show_by_slug", ["slug" => "Pieces-velo""template" => "@SyliusShop/Taxon/_verticalMenu.html.twig"]));
  67.         // line 25
  68.         echo "
  69.         ";
  70.         // line 26
  71.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_show_by_slug", ["slug" => "Accessoires""template" => "@SyliusShop/Taxon/_verticalMenu.html.twig"]));
  72.         // line 29
  73.         echo "
  74.     </div>
  75. </div>
  76. <style>
  77. </style>
  78. ";
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.     }
  84.     public function getTemplateName()
  85.     {
  86.         return "@SyliusShop/Product/Index/_sidebar.html.twig";
  87.     }
  88.     public function isTraitable()
  89.     {
  90.         return false;
  91.     }
  92.     public function getDebugInfo()
  93.     {
  94.         return array (  83 => 29,  81 => 26,  78 => 25,  76 => 22,  73 => 21,  71 => 18,  68 => 17,  66 => 14,  63 => 13,  61 => 10,  58 => 9,  53 => 5,  51 => 4,  47 => 3,  43 => 1,);
  95.     }
  96.     public function getSourceContext()
  97.     {
  98.         return new Source("<div >
  99.     {{ sylius_template_event('sylius.shop.product.index.search.with_input', _context) }}
  100.     {% set slug = app.request.attributes.get(\"slug\") %}
  101.     <div class=\"title-state-div\">
  102.         <h4>Catégories</h4>
  103.     </div>
  104. {#    <div class=\"title-state-div\"><h4>Catégories</h4><span class=\"toggle-btn-1\" id=\"button-div\" onclick=\"toggleDiv('div-category-bar', 'toggle-btn-1')\">-</span></div>#}
  105.     <div class=\"div-category-bar\">
  106.         {{ render(url('sylius_shop_partial_taxon_show_by_slug', {
  107.             'slug': \"homme\",
  108.             'template': '@SyliusShop/Taxon/_verticalMenu.html.twig'
  109.         })) }}
  110.         {{ render(url('sylius_shop_partial_taxon_show_by_slug', {
  111.             'slug': \"femme\",
  112.             'template': '@SyliusShop/Taxon/_verticalMenu.html.twig'
  113.         })) }}
  114.         {{ render(url('sylius_shop_partial_taxon_show_by_slug', {
  115.             'slug': \"Pieces-moto\",
  116.             'template': '@SyliusShop/Taxon/_verticalMenu.html.twig'
  117.         })) }}
  118.         {{ render(url('sylius_shop_partial_taxon_show_by_slug', {
  119.             'slug': \"Pieces-velo\",
  120.             'template': '@SyliusShop/Taxon/_verticalMenu.html.twig'
  121.         })) }}
  122.         {{ render(url('sylius_shop_partial_taxon_show_by_slug', {
  123.             'slug': \"Accessoires\",
  124.             'template': '@SyliusShop/Taxon/_verticalMenu.html.twig'
  125.         })) }}
  126.     </div>
  127. </div>
  128. <style>
  129. </style>
  130. ""@SyliusShop/Product/Index/_sidebar.html.twig""/var/www/Bikers/templates/bundles/SyliusShopBundle/Product/Index/_sidebar.html.twig");
  131.     }
  132. }