var/cache/dev/twig/a2/a29747404a55a53033ca7fbe06e743d9.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_0c040d31afa5f8f76cc8638be435365e 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); })()), "order_no", [], "any"falsefalsefalse115), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "注文番号"]);
  293.         echo "
  294.                             </dt>
  295.                             <dd>
  296.                                 <div class=\"ec-halfInput";
  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); })()), "order_no", [], "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); })()), "order_no", [], "any"falsefalsefalse119), 'widget', ["attr" => ["placeholder" => "注文番号"]]);
  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); })()), "order_no", [], "any"falsefalsefalse120), 'errors');
  307.         echo "
  308.                                 </div>
  309.                             </dd>
  310.                         </dl>
  311.                         <dl>
  312.                             <dt>
  313.                                 ";
  314.         // line 126
  315.         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.'126$this->source); })()), "contents", [], "any"falsefalsefalse126), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせ内容"]);
  316.         echo "
  317.                             </dt>
  318.                             <dd>
  319.                                 <div class=\"ec-input";
  320.         // line 129
  321.         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.'129$this->source); })()), "contents", [], "any"falsefalsefalse129))) ? (" error") : (""));
  322.         echo "\">
  323.                                     ";
  324.         // line 130
  325.         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.'130$this->source); })()), "contents", [], "any"falsefalsefalse130), 'widget');
  326.         echo "
  327.                                     ";
  328.         // line 131
  329.         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.'131$this->source); })()), "contents", [], "any"falsefalsefalse131), 'errors');
  330.         echo "
  331.                                 </div>
  332.                             </dd>
  333.                         </dl>
  334.                         ";
  335.         // line 136
  336.         echo "                        ";
  337.         $context['_parent'] = $context;
  338.         $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.'136$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"falsefalsefalse136), "eccube_form_options", [], "any"falsefalsefalse136), "auto_render", [], "any"falsefalsefalse136); }));
  339.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  340.             // line 137
  341.             echo "                            ";
  342.             if (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)) {
  343.                 // line 138
  344.                 echo "                                ";
  345.                 $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"falsefalsefalse138), "eccube_form_options", [], "any"falsefalsefalse138), "form_theme", [], "any"falsefalsefalse138)], true);
  346.                 // line 139
  347.                 echo "                                ";
  348.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'row');
  349.                 echo "
  350.                             ";
  351.             } else {
  352.                 // line 141
  353.                 echo "                                <dl>
  354.                                     <dt>
  355.                                         ";
  356.                 // line 143
  357.                 $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"falsetruefalse143), "label_attr", [], "any"falsetruefalse143), "class", [], "any"truetruefalse143)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse143), "label_attr", [], "any"falsefalsefalse143), "class", [], "any"falsefalsefalse143)) : (""));
  358.                 // line 144
  359.                 echo "                                        ";
  360.                 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.'144$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"falsefalsefalse144), "label", [], "any"falsefalsefalse144)) ? [] : ["label" => $_label_]));
  361.                 echo "
  362.                                     </dt>
  363.                                     <dd>
  364.                                         <div class=\"";
  365.                 // line 147
  366.                 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"falsefalsefalse147), "eccube_form_options", [], "any"falsefalsefalse147), "style_class", [], "any"falsefalsefalse147), "html"nulltrue);
  367.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($context["f"])) ? (" error") : (""));
  368.                 echo "\">
  369.                                             ";
  370.                 // line 148
  371.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'widget');
  372.                 echo "
  373.                                             ";
  374.                 // line 149
  375.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'errors');
  376.                 echo "
  377.                                         </div>
  378.                                     </dd>
  379.                                 </dl>
  380.                             ";
  381.             }
  382.             // line 154
  383.             echo "                        ";
  384.         }
  385.         $_parent $context['_parent'];
  386.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  387.         $context array_intersect_key($context$_parent) + $_parent;
  388.         // line 155
  389.         echo "                    </div>
  390.                     <div class=\"ec-RegisterRole__actions\">
  391.                         <div class=\"ec-off4Grid\">
  392.                             <div class=\"ec-off4Grid__cell\">
  393.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  394.         // line 159
  395.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  396.         echo "
  397.                                 </button>
  398.                             </div>
  399.                         </div>
  400.                     </div>
  401.                 </form>
  402.             </div>
  403.         </div>
  404.     </div>
  405. ";
  406.         
  407.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  408.         
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  410.     }
  411.     public function getTemplateName()
  412.     {
  413.         return "Contact/index.twig";
  414.     }
  415.     public function isTraitable()
  416.     {
  417.         return false;
  418.     }
  419.     public function getDebugInfo()
  420.     {
  421.         return array (  414 => 159,  408 => 155,  402 => 154,  394 => 149,  390 => 148,  385 => 147,  378 => 144,  376 => 143,  372 => 141,  366 => 139,  363 => 138,  360 => 137,  355 => 136,  348 => 131,  344 => 130,  340 => 129,  334 => 126,  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,);
  422.     }
  423.     public function getSourceContext()
  424.     {
  425.         return new Source("{#
  426. This file is part of EC-CUBE
  427. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  428. http://www.ec-cube.co.jp/
  429. For the full copyright and license information, please view the LICENSE
  430. file that was distributed with this source code.
  431. #}
  432. {% extends 'default_frame.twig' %}
  433. {% form_theme form 'Form/form_div_layout.twig' %}
  434. {% block javascript %}
  435.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  436. {% endblock javascript %}
  437. {% block main %}
  438.     <div class=\"ec-contactRole\">
  439.         <div class=\"ec-pageHeader\">
  440.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  441.         </div>
  442.         <div class=\"ec-off1Grid\">
  443.             <div class=\"ec-off1Grid__cell\">
  444.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  445.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  446.                     {{ form_widget(form._token) }}
  447.                     <p class=\"ec-para-normal\">{{ 'ご返答までにお時間を頂戴する場合もございます。
  448. 予めご了承ください。
  449. '|trans|nl2br }}</p>
  450.                     <div class=\"ec-borderedDefs\">
  451.                         <dl>
  452.                             <dt>
  453.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  454.                             </dt>
  455.                             <dd>
  456.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  457.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  458.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  459.                                     {{ form_errors(form.name.name01) }}
  460.                                     {{ form_errors(form.name.name02) }}
  461.                                 </div>
  462.                             </dd>
  463.                         </dl>
  464.                         <dl>
  465.                             <dt>
  466.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  467.                             </dt>
  468.                             <dd>
  469.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  470.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  471.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  472.                                     {{ form_errors(form.kana.kana01) }}
  473.                                     {{ form_errors(form.kana.kana02) }}
  474.                                 </div>
  475.                             </dd>
  476.                         </dl>
  477.                         <dl>
  478.                             <dt>
  479.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  480.                             </dt>
  481.                             <dd>
  482.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  483.                                     <span>{{ '〒'|trans }}</span>
  484.                                     {{ form_widget(form.postal_code) }}
  485.                                     <div class=\"ec-zipInputHelp\">
  486.                                         <div class=\"ec-zipInputHelp__icon\">
  487.                                             <div class=\"ec-icon\"><img
  488.                                                     src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  489.                                             </div>
  490.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  491.                                     </div>
  492.                                     {{ form_errors(form.postal_code) }}
  493.                                 </div>
  494.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  495.                                     {{ form_widget(form.address.pref) }}
  496.                                     {{ form_errors(form.address.pref) }}
  497.                                 </div>
  498.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  499.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  500.                                     {{ form_errors(form.address.addr01) }}
  501.                                 </div>
  502.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  503.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  504.                                     {{ form_errors(form.address.addr02) }}
  505.                                 </div>
  506.                             </dd>
  507.                         </dl>
  508.                         <dl>
  509.                             <dt>
  510.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  511.                             </dt>
  512.                             <dd>
  513.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  514.                                     {{ form_widget(form.phone_number) }}
  515.                                     {{ form_errors(form.phone_number) }}
  516.                                 </div>
  517.                             </dd>
  518.                         </dl>
  519.                         <dl>
  520.                             <dt>
  521.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  522.                             </dt>
  523.                             <dd>
  524.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  525.                                     {{ form_widget(form.email) }}
  526.                                     {{ form_errors(form.email) }}
  527.                                 </div>
  528.                             </dd>
  529.                         </dl>
  530.                         <dl>
  531.                             <dt>
  532.                                 {{ form_label(form.order_no, '注文番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  533.                             </dt>
  534.                             <dd>
  535.                                 <div class=\"ec-halfInput{{ has_errors(form.order_no) ? ' error' }}\">
  536.                                     {{ form_widget(form.order_no, {'attr': { 'placeholder': '注文番号' }}) }}
  537.                                     {{ form_errors(form.order_no) }}
  538.                                 </div>
  539.                             </dd>
  540.                         </dl>
  541.                         <dl>
  542.                             <dt>
  543.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  544.                             </dt>
  545.                             <dd>
  546.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  547.                                     {{ form_widget(form.contents) }}
  548.                                     {{ form_errors(form.contents) }}
  549.                                 </div>
  550.                             </dd>
  551.                         </dl>
  552.                         {# エンティティ拡張の自動出力 #}
  553.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  554.                             {% if f.vars.eccube_form_options.form_theme %}
  555.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  556.                                 {{ form_row(f) }}
  557.                             {% else %}
  558.                                 <dl>
  559.                                     <dt>
  560.                                         {% set label_class =  f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
  561.                                         {{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
  562.                                     </dt>
  563.                                     <dd>
  564.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  565.                                             {{ form_widget(f) }}
  566.                                             {{ form_errors(f) }}
  567.                                         </div>
  568.                                     </dd>
  569.                                 </dl>
  570.                             {% endif %}
  571.                         {% endfor %}
  572.                     </div>
  573.                     <div class=\"ec-RegisterRole__actions\">
  574.                         <div class=\"ec-off4Grid\">
  575.                             <div class=\"ec-off4Grid__cell\">
  576.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  577.                                 </button>
  578.                             </div>
  579.                         </div>
  580.                     </div>
  581.                 </form>
  582.             </div>
  583.         </div>
  584.     </div>
  585. {% endblock %}""Contact/index.twig""/home/xs080051/million-store.com/public_html/st.million-store.com/ec/app/template/million01/Contact/index.twig");
  586.     }
  587. }