var/cache/dev/twig/b9/b96f556e2aa5c2bfcf2b35b90e3aad76.php line 39

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. /* Contact/index.twig */
  14. class __TwigTemplate_0e58b09e99e82872386c53853fc13b14 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->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  39.         // line 13
  40.         $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.'13$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  59. ";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 19
  66.     public function block_main($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  73.         // line 20
  74.         echo "    <div class=\"custom-heading\">
  75.         <div class=\"custom-heading__row\">
  76.             <img src=\"/html/user_data/ContentImg/siopanda.png\" alt=\"Logo\" class=\"custom-heading__logo\">
  77.             <div class=\"custom-heading__text\">
  78.                 <span class=\"custom-heading__ja\">";
  79.         // line 24
  80.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  81.         echo "</span>
  82.                 <span class=\"custom-heading__en\">";
  83.         // line 25
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact"), "html"nulltrue);
  85.         echo "</span>
  86.             </div>
  87.         </div>
  88.     </div>
  89.     <div class=\"ec-contactRole\">
  90.         ";
  91.         // line 34
  92.         echo "        <div class=\"ec-off1Grid\">
  93.             <div class=\"ec-off1Grid__cell\">
  94.                 <form method=\"post\" action=\"";
  95.         // line 36
  96.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  97.         echo "\" class=\"h-adr\" novalidate>
  98.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  99.                     ";
  100.         // line 38
  101.         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.'38$this->source); })()), "_token", [], "any"falsefalsefalse38), 'widget');
  102.         echo "
  103.                     <p class=\"ec-para-normal\">";
  104.         // line 39
  105.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答を差し上げるのにお時間をいただくこともございます。
  106. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  107. "), "html"nulltrue));
  108.         // line 41
  109.         echo "</p>
  110.                     <div class=\"ec-borderedDefs\">
  111.                         <dl>
  112.                             <dt>
  113.                                 ";
  114.         // line 45
  115.         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.'45$this->source); })()), "name", [], "any"falsefalsefalse45), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  116.         echo "
  117.                             </dt>
  118.                             <dd>
  119.                                 <div class=\"ec-halfInput";
  120.         // line 48
  121.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_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.'48$this->source); })()), "name", [], "any"falsefalsefalse48), "name01", [], "any"falsefalsefalse48), twig_get_attribute($this->env$this->sourcetwig_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.'48$this->source); })()), "name", [], "any"falsefalsefalse48), "name02", [], "any"falsefalsefalse48))) ? (" error") : (""));
  122.         echo "\">
  123.                                     ";
  124.         // line 49
  125.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'49$this->source); })()), "name", [], "any"falsefalsefalse49), "name01", [], "any"falsefalsefalse49), 'widget', ["attr" => ["placeholder" => "姓"]]);
  126.         echo "
  127.                                     ";
  128.         // line 50
  129.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'50$this->source); })()), "name", [], "any"falsefalsefalse50), "name02", [], "any"falsefalsefalse50), 'widget', ["attr" => ["placeholder" => "名"]]);
  130.         echo "
  131.                                     ";
  132.         // line 51
  133.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'51$this->source); })()), "name", [], "any"falsefalsefalse51), "name01", [], "any"falsefalsefalse51), 'errors');
  134.         echo "
  135.                                     ";
  136.         // line 52
  137.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'52$this->source); })()), "name", [], "any"falsefalsefalse52), "name02", [], "any"falsefalsefalse52), 'errors');
  138.         echo "
  139.                                 </div>
  140.                             </dd>
  141.                         </dl>
  142.                         <dl>
  143.                             <dt>
  144.                                 ";
  145.         // line 58
  146.         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.'58$this->source); })()), "kana", [], "any"falsefalsefalse58), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  147.         echo "
  148.                             </dt>
  149.                             <dd>
  150.                                 <div class=\"ec-halfInput";
  151.         // line 61
  152.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_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.'61$this->source); })()), "kana", [], "any"falsefalsefalse61), "kana01", [], "any"falsefalsefalse61), twig_get_attribute($this->env$this->sourcetwig_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.'61$this->source); })()), "kana", [], "any"falsefalsefalse61), "kana02", [], "any"falsefalsefalse61))) ? (" error") : (""));
  153.         echo "\">
  154.                                     ";
  155.         // line 62
  156.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'62$this->source); })()), "kana", [], "any"falsefalsefalse62), "kana01", [], "any"falsefalsefalse62), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  157.         echo "
  158.                                     ";
  159.         // line 63
  160.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'63$this->source); })()), "kana", [], "any"falsefalsefalse63), "kana02", [], "any"falsefalsefalse63), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  161.         echo "
  162.                                     ";
  163.         // line 64
  164.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'64$this->source); })()), "kana", [], "any"falsefalsefalse64), "kana01", [], "any"falsefalsefalse64), 'errors');
  165.         echo "
  166.                                     ";
  167.         // line 65
  168.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'65$this->source); })()), "kana", [], "any"falsefalsefalse65), "kana02", [], "any"falsefalsefalse65), 'errors');
  169.         echo "
  170.                                 </div>
  171.                             </dd>
  172.                         </dl>
  173.                         <dl>
  174.                             <dt>
  175.                                 ";
  176.         // line 71
  177.         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.'71$this->source); })()), "address", [], "any"falsefalsefalse71), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  178.         echo "
  179.                             </dt>
  180.                             <dd>
  181.                                 <div class=\"ec-zipInput";
  182.         // line 74
  183.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'74$this->source); })()), "postal_code", [], "any"falsefalsefalse74))) ? (" error") : (""));
  184.         echo "\">
  185.                                     <span>";
  186.         // line 75
  187.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  188.         echo "</span>
  189.                                     ";
  190.         // line 76
  191.         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.'76$this->source); })()), "postal_code", [], "any"falsefalsefalse76), 'widget');
  192.         echo "
  193.                                     <div class=\"ec-zipInputHelp\">
  194.                                         <div class=\"ec-zipInputHelp__icon\">
  195.                                             <div class=\"ec-icon\"><img
  196.                                                     src=\"";
  197.         // line 80
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  199.         echo "\" alt=\"\">
  200.                                             </div>
  201.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  202.         // line 82
  203.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  204.         echo "</span></a>
  205.                                     </div>
  206.                                     ";
  207.         // line 84
  208.         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.'84$this->source); })()), "postal_code", [], "any"falsefalsefalse84), 'errors');
  209.         echo "
  210.                                 </div>
  211.                                 <div class=\"ec-select";
  212.         // line 86
  213.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_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.'86$this->source); })()), "address", [], "any"falsefalsefalse86), "pref", [], "any"falsefalsefalse86))) ? (" error") : (""));
  214.         echo "\">
  215.                                     ";
  216.         // line 87
  217.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'87$this->source); })()), "address", [], "any"falsefalsefalse87), "pref", [], "any"falsefalsefalse87), 'widget');
  218.         echo "
  219.                                     ";
  220.         // line 88
  221.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'88$this->source); })()), "address", [], "any"falsefalsefalse88), "pref", [], "any"falsefalsefalse88), 'errors');
  222.         echo "
  223.                                 </div>
  224.                                 <div class=\"ec-input";
  225.         // line 90
  226.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_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.'90$this->source); })()), "address", [], "any"falsefalsefalse90), "addr01", [], "any"falsefalsefalse90))) ? (" error") : (""));
  227.         echo "\">
  228.                                     ";
  229.         // line 91
  230.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'91$this->source); })()), "address", [], "any"falsefalsefalse91), "addr01", [], "any"falsefalsefalse91), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
  231.         echo "
  232.                                     ";
  233.         // line 92
  234.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'92$this->source); })()), "address", [], "any"falsefalsefalse92), "addr01", [], "any"falsefalsefalse92), 'errors');
  235.         echo "
  236.                                 </div>
  237.                                 <div class=\"ec-input";
  238.         // line 94
  239.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_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.'94$this->source); })()), "address", [], "any"falsefalsefalse94), "addr02", [], "any"falsefalsefalse94))) ? (" error") : (""));
  240.         echo "\">
  241.                                     ";
  242.         // line 95
  243.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'95$this->source); })()), "address", [], "any"falsefalsefalse95), "addr02", [], "any"falsefalsefalse95), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
  244.         echo "
  245.                                     ";
  246.         // line 96
  247.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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.'96$this->source); })()), "address", [], "any"falsefalsefalse96), "addr02", [], "any"falsefalsefalse96), 'errors');
  248.         echo "
  249.                                 </div>
  250.                             </dd>
  251.                         </dl>
  252.                         <dl>
  253.                             <dt>
  254.                                 ";
  255.         // line 102
  256.         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.'102$this->source); })()), "phone_number", [], "any"falsefalsefalse102), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
  257.         echo "
  258.                             </dt>
  259.                             <dd>
  260.                                 <div class=\"ec-telInput";
  261.         // line 105
  262.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'105$this->source); })()), "phone_number", [], "any"falsefalsefalse105))) ? (" error") : (""));
  263.         echo "\">
  264.                                     ";
  265.         // line 106
  266.         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.'106$this->source); })()), "phone_number", [], "any"falsefalsefalse106), 'widget');
  267.         echo "
  268.                                     ";
  269.         // line 107
  270.         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.'107$this->source); })()), "phone_number", [], "any"falsefalsefalse107), 'errors');
  271.         echo "
  272.                                 </div>
  273.                             </dd>
  274.                         </dl>
  275.                         <dl>
  276.                             <dt>
  277.                                 ";
  278.         // line 113
  279.         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.'113$this->source); })()), "email", [], "any"falsefalsefalse113), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  280.         echo "
  281.                             </dt>
  282.                             <dd>
  283.                                 <div class=\"ec-input";
  284.         // line 116
  285.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'116$this->source); })()), "email", [], "any"falsefalsefalse116))) ? (" error") : (""));
  286.         echo "\">
  287.                                     ";
  288.         // line 117
  289.         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.'117$this->source); })()), "email", [], "any"falsefalsefalse117), 'widget');
  290.         echo "
  291.                                     ";
  292.         // line 118
  293.         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.'118$this->source); })()), "email", [], "any"falsefalsefalse118), 'errors');
  294.         echo "
  295.                                 </div>
  296.                             </dd>
  297.                         </dl>
  298.                         <dl>
  299.                             <dt>
  300.                                 ";
  301.         // line 124
  302.         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.'124$this->source); })()), "contents", [], "any"falsefalsefalse124), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせ内容"]);
  303.         echo "
  304.                             </dt>
  305.                             <dd>
  306.                                 <div class=\"ec-input";
  307.         // line 127
  308.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'127$this->source); })()), "contents", [], "any"falsefalsefalse127))) ? (" error") : (""));
  309.         echo "\">
  310.                                     ";
  311.         // line 128
  312.         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.'128$this->source); })()), "contents", [], "any"falsefalsefalse128), 'widget');
  313.         echo "
  314.                                     ";
  315.         // line 129
  316.         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.'129$this->source); })()), "contents", [], "any"falsefalsefalse129), 'errors');
  317.         echo "
  318.                                 </div>
  319.                                 <p>";
  320.         // line 131
  321.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。"), "html"nulltrue);
  322.         echo "</p>
  323.                             </dd>
  324.                         </dl>
  325.                         ";
  326.         // line 135
  327.         echo "                        ";
  328.         $context['_parent'] = $context;
  329.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'135$this->source); })()), function ($__f__) use ($context$macros) { $context["f"] = $__f__; return twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse135), "eccube_form_options", [], "any"falsefalsefalse135), "auto_render", [], "any"falsefalsefalse135); }));
  330.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  331.             // line 136
  332.             echo "                            ";
  333.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse136), "eccube_form_options", [], "any"falsefalsefalse136), "form_theme", [], "any"falsefalsefalse136)) {
  334.                 // line 137
  335.                 echo "                                ";
  336.                 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse137), "eccube_form_options", [], "any"falsefalsefalse137), "form_theme", [], "any"falsefalsefalse137)], true);
  337.                 // line 138
  338.                 echo "                                ";
  339.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'row');
  340.                 echo "
  341.                             ";
  342.             } else {
  343.                 // line 140
  344.                 echo "                                <dl>
  345.                                     <dt>
  346.                                         ";
  347.                 // line 142
  348.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'label');
  349.                 echo "
  350.                                     </dt>
  351.                                     <dd>
  352.                                         <div class=\"";
  353.                 // line 145
  354.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse145), "eccube_form_options", [], "any"falsefalsefalse145), "style_class", [], "any"falsefalsefalse145), "html"nulltrue);
  355.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($context["f"])) ? (" error") : (""));
  356.                 echo "\">
  357.                                             ";
  358.                 // line 146
  359.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'widget');
  360.                 echo "
  361.                                             ";
  362.                 // line 147
  363.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'errors');
  364.                 echo "
  365.                                         </div>
  366.                                     </dd>
  367.                                 </dl>
  368.                             ";
  369.             }
  370.             // line 152
  371.             echo "                        ";
  372.         }
  373.         $_parent $context['_parent'];
  374.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  375.         $context array_intersect_key($context$_parent) + $_parent;
  376.         // line 153
  377.         echo "                    </div>
  378.                     <div class=\"ec-RegisterRole__actions\">
  379.                         <div class=\"ec-off4Grid\">
  380.                             <div class=\"ec-off4Grid__cell\">
  381.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  382.         // line 157
  383.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  384.         echo "
  385.                                 </button>
  386.                             </div>
  387.                         </div>
  388.                     </div>
  389.                 </form>
  390.             </div>
  391.         </div>
  392.     </div>
  393. ";
  394.         
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  396.         
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  398.     }
  399.     public function getTemplateName()
  400.     {
  401.         return "Contact/index.twig";
  402.     }
  403.     public function isTraitable()
  404.     {
  405.         return false;
  406.     }
  407.     public function getDebugInfo()
  408.     {
  409.         return array (  403 => 157,  397 => 153,  391 => 152,  383 => 147,  379 => 146,  374 => 145,  368 => 142,  364 => 140,  358 => 138,  355 => 137,  352 => 136,  347 => 135,  341 => 131,  336 => 129,  332 => 128,  328 => 127,  322 => 124,  313 => 118,  309 => 117,  305 => 116,  299 => 113,  290 => 107,  286 => 106,  282 => 105,  276 => 102,  267 => 96,  263 => 95,  259 => 94,  254 => 92,  250 => 91,  246 => 90,  241 => 88,  237 => 87,  233 => 86,  228 => 84,  223 => 82,  218 => 80,  211 => 76,  207 => 75,  203 => 74,  197 => 71,  188 => 65,  184 => 64,  180 => 63,  176 => 62,  172 => 61,  166 => 58,  157 => 52,  153 => 51,  149 => 50,  145 => 49,  141 => 48,  135 => 45,  129 => 41,  125 => 39,  121 => 38,  116 => 36,  112 => 34,  103 => 25,  99 => 24,  93 => 20,  83 => 19,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  410.     }
  411.     public function getSourceContext()
  412.     {
  413.         return new Source("{#
  414. This file is part of EC-CUBE
  415. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  416. http://www.ec-cube.co.jp/
  417. For the full copyright and license information, please view the LICENSE
  418. file that was distributed with this source code.
  419. #}
  420. {% extends 'default_frame.twig' %}
  421. {% form_theme form 'Form/form_div_layout.twig' %}
  422. {% block javascript %}
  423.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  424. {% endblock javascript %}
  425. {% block main %}
  426.     <div class=\"custom-heading\">
  427.         <div class=\"custom-heading__row\">
  428.             <img src=\"/html/user_data/ContentImg/siopanda.png\" alt=\"Logo\" class=\"custom-heading__logo\">
  429.             <div class=\"custom-heading__text\">
  430.                 <span class=\"custom-heading__ja\">{{ 'お問い合わせ'|trans }}</span>
  431.                 <span class=\"custom-heading__en\">{{ 'contact'|trans }}</span>
  432.             </div>
  433.         </div>
  434.     </div>
  435.     <div class=\"ec-contactRole\">
  436.         {#<div class=\"ec-pageHeader\">
  437.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  438.         </div>#}
  439.         <div class=\"ec-off1Grid\">
  440.             <div class=\"ec-off1Grid__cell\">
  441.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  442.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  443.                     {{ form_widget(form._token) }}
  444.                     <p class=\"ec-para-normal\">{{ '内容によっては回答を差し上げるのにお時間をいただくこともございます。
  445. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  446. '|trans|nl2br }}</p>
  447.                     <div class=\"ec-borderedDefs\">
  448.                         <dl>
  449.                             <dt>
  450.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  451.                             </dt>
  452.                             <dd>
  453.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  454.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  455.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  456.                                     {{ form_errors(form.name.name01) }}
  457.                                     {{ form_errors(form.name.name02) }}
  458.                                 </div>
  459.                             </dd>
  460.                         </dl>
  461.                         <dl>
  462.                             <dt>
  463.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  464.                             </dt>
  465.                             <dd>
  466.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  467.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  468.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  469.                                     {{ form_errors(form.kana.kana01) }}
  470.                                     {{ form_errors(form.kana.kana02) }}
  471.                                 </div>
  472.                             </dd>
  473.                         </dl>
  474.                         <dl>
  475.                             <dt>
  476.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  477.                             </dt>
  478.                             <dd>
  479.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  480.                                     <span>{{ '〒'|trans }}</span>
  481.                                     {{ form_widget(form.postal_code) }}
  482.                                     <div class=\"ec-zipInputHelp\">
  483.                                         <div class=\"ec-zipInputHelp__icon\">
  484.                                             <div class=\"ec-icon\"><img
  485.                                                     src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  486.                                             </div>
  487.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  488.                                     </div>
  489.                                     {{ form_errors(form.postal_code) }}
  490.                                 </div>
  491.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  492.                                     {{ form_widget(form.address.pref) }}
  493.                                     {{ form_errors(form.address.pref) }}
  494.                                 </div>
  495.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  496.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  497.                                     {{ form_errors(form.address.addr01) }}
  498.                                 </div>
  499.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  500.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  501.                                     {{ form_errors(form.address.addr02) }}
  502.                                 </div>
  503.                             </dd>
  504.                         </dl>
  505.                         <dl>
  506.                             <dt>
  507.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  508.                             </dt>
  509.                             <dd>
  510.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  511.                                     {{ form_widget(form.phone_number) }}
  512.                                     {{ form_errors(form.phone_number) }}
  513.                                 </div>
  514.                             </dd>
  515.                         </dl>
  516.                         <dl>
  517.                             <dt>
  518.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  519.                             </dt>
  520.                             <dd>
  521.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  522.                                     {{ form_widget(form.email) }}
  523.                                     {{ form_errors(form.email) }}
  524.                                 </div>
  525.                             </dd>
  526.                         </dl>
  527.                         <dl>
  528.                             <dt>
  529.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  530.                             </dt>
  531.                             <dd>
  532.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  533.                                     {{ form_widget(form.contents) }}
  534.                                     {{ form_errors(form.contents) }}
  535.                                 </div>
  536.                                 <p>{{ 'ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  537.                             </dd>
  538.                         </dl>
  539.                         {# エンティティ拡張の自動出力 #}
  540.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  541.                             {% if f.vars.eccube_form_options.form_theme %}
  542.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  543.                                 {{ form_row(f) }}
  544.                             {% else %}
  545.                                 <dl>
  546.                                     <dt>
  547.                                         {{ form_label(f) }}
  548.                                     </dt>
  549.                                     <dd>
  550.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  551.                                             {{ form_widget(f) }}
  552.                                             {{ form_errors(f) }}
  553.                                         </div>
  554.                                     </dd>
  555.                                 </dl>
  556.                             {% endif %}
  557.                         {% endfor %}
  558.                     </div>
  559.                     <div class=\"ec-RegisterRole__actions\">
  560.                         <div class=\"ec-off4Grid\">
  561.                             <div class=\"ec-off4Grid__cell\">
  562.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  563.                                 </button>
  564.                             </div>
  565.                         </div>
  566.                     </div>
  567.                 </form>
  568.             </div>
  569.         </div>
  570.     </div>
  571. {% endblock %}""Contact/index.twig""/home/iseyabread/www/iseya/app/template/default/Contact/index.twig");
  572.     }
  573. }