var/cache/dev/twig/9d/9dce274975e77e380b90e905f26f2f083b8fc0732d7eb25ec9ddff4c3c8ca5d2.php line 16

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. /* Block/search_product.twig */
  14. class __TwigTemplate_4065d18d295742d59d23593e3bd4a71dc9fe9dd53d9d1dddcf9f143304b3cf29 extends \Eccube\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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/search_product.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/search_product.twig"));
  33.         // line 11
  34.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'11$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  35.         // line 12
  36.         echo "
  37. <div class=\"ec-headerSearch\">
  38.     <form method=\"get\" class=\"searchform\" action=\"";
  39.         // line 14
  40.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_list");
  41.         echo "\">
  42.         <div class=\"ec-headerSearch__category\">
  43.             <div class=\"ec-select ec-select_search\">
  44.                 ";
  45.         // line 17
  46.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'17$this->source); })()), "category_id", [], "any"falsefalsefalse17), 'widget', ["id" => null"attr" => ["class" => "category_id"]]);
  47.         echo "
  48.             </div>
  49.         </div>
  50.         <div class=\"ec-headerSearch__keyword\">
  51.             <div class=\"ec-input\">
  52.                 ";
  53.         // line 22
  54.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'22$this->source); })()), "name", [], "any"falsefalsefalse22), 'widget', ["id" => null"attr" => ["class" => "search-name""placeholder" => "キーワードを入力"]]);
  55.         echo "
  56.                 <button class=\"ec-headerSearch__keywordBtn\" type=\"submit\">
  57.                     <div class=\"ec-icon\">
  58.                         <img src=\"";
  59.         // line 25
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/search-dark.svg"), "html"nulltrue);
  61.         echo "\" alt=\"\">
  62.                     </div>
  63.                 </button>
  64.             </div>
  65.         </div>
  66.     </form>
  67. </div>
  68. ";
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "Block/search_product.twig";
  77.     }
  78.     public function isTraitable()
  79.     {
  80.         return false;
  81.     }
  82.     public function getDebugInfo()
  83.     {
  84.         return array (  69 => 25,  63 => 22,  55 => 17,  49 => 14,  45 => 12,  43 => 11,);
  85.     }
  86.     public function getSourceContext()
  87.     {
  88.         return new Source("{#
  89. This file is part of EC-CUBE
  90. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  91. http://www.ec-cube.co.jp/
  92. For the full copyright and license information, please view the LICENSE
  93. file that was distributed with this source code.
  94. #}
  95. {% form_theme form 'Form/form_div_layout.twig' %}
  96. <div class=\"ec-headerSearch\">
  97.     <form method=\"get\" class=\"searchform\" action=\"{{ path('product_list') }}\">
  98.         <div class=\"ec-headerSearch__category\">
  99.             <div class=\"ec-select ec-select_search\">
  100.                 {{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'category_id'}}) }}
  101.             </div>
  102.         </div>
  103.         <div class=\"ec-headerSearch__keyword\">
  104.             <div class=\"ec-input\">
  105.                 {{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-name', 'placeholder' : 'キーワードを入力' }} ) }}
  106.                 <button class=\"ec-headerSearch__keywordBtn\" type=\"submit\">
  107.                     <div class=\"ec-icon\">
  108.                         <img src=\"{{ asset('assets/icon/search-dark.svg') }}\" alt=\"\">
  109.                     </div>
  110.                 </button>
  111.             </div>
  112.         </div>
  113.     </form>
  114. </div>
  115. ""Block/search_product.twig""/home/saika38/www/saika/shop/src/Eccube/Resource/template/default/Block/search_product.twig");
  116.     }
  117. }