var/cache/dev/twig/21/21593e0637bc902ba3048efc7e494f8a.php line 52

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