var/cache/dev/twig/ce/ce71a2964aa2e5e8caa371ea9e8507bf.php line 49

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. /* @user_data/buy.twig */
  14. class __TwigTemplate_12da1e402f3f6dd85422b15bba27a8e9 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""@user_data/buy.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""@user_data/buy.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""@user_data/buy.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.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'label');
  339.                 echo "
  340.                                     </dt>
  341.                                     <dd>
  342.                                         <div class=\"";
  343.                 // line 136
  344.                 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"falsefalsefalse136), "eccube_form_options", [], "any"falsefalsefalse136), "style_class", [], "any"falsefalsefalse136), "html"nulltrue);
  345.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($context["f"])) ? (" error") : (""));
  346.                 echo "\">
  347.                                             ";
  348.                 // line 137
  349.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'widget');
  350.                 echo "
  351.                                             ";
  352.                 // line 138
  353.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'errors');
  354.                 echo "
  355.                                         </div>
  356.                                     </dd>
  357.                                 </dl>
  358.                             ";
  359.             }
  360.             // line 143
  361.             echo "                        ";
  362.         }
  363.         $_parent $context['_parent'];
  364.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  365.         $context array_intersect_key($context$_parent) + $_parent;
  366.         // line 144
  367.         echo "                    </div>
  368.                     <div class=\"ec-RegisterRole__actions\">
  369.                         <div class=\"ec-off4Grid\">
  370.                             <div class=\"ec-off4Grid__cell\">
  371.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  372.         // line 148
  373.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  374.         echo "
  375.                                 </button>
  376.                             </div>
  377.                         </div>
  378.                     </div>
  379.                 </form>
  380.             </div>
  381.         </div>
  382.     </div>
  383. ";
  384.         
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386.         
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  388.     }
  389.     public function getTemplateName()
  390.     {
  391.         return "@user_data/buy.twig";
  392.     }
  393.     public function isTraitable()
  394.     {
  395.         return false;
  396.     }
  397.     public function getDebugInfo()
  398.     {
  399.         return array (  392 => 148,  386 => 144,  380 => 143,  372 => 138,  368 => 137,  363 => 136,  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,);
  400.     }
  401.     public function getSourceContext()
  402.     {
  403.         return new Source("{#
  404. This file is part of EC-CUBE
  405. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  406. http://www.ec-cube.co.jp/
  407. For the full copyright and license information, please view the LICENSE
  408. file that was distributed with this source code.
  409. #}
  410. {% extends 'default_frame.twig' %}
  411. {% form_theme form 'Form/form_div_layout.twig' %}
  412. {% block javascript %}
  413.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  414. {% endblock javascript %}
  415. {% block main %}
  416.     <div class=\"ec-contactRole\">
  417.         <div class=\"ec-pageHeader\">
  418.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  419.         </div>
  420.         <div class=\"ec-off1Grid\">
  421.             <div class=\"ec-off1Grid__cell\">
  422.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  423.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  424.                     {{ form_widget(form._token) }}
  425.                     <p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
  426. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  427. '|trans|nl2br }}</p>
  428.                     <div class=\"ec-borderedDefs\">
  429.                         <dl>
  430.                             <dt>
  431.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  432.                             </dt>
  433.                             <dd>
  434.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  435.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  436.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  437.                                     {{ form_errors(form.name.name01) }}
  438.                                     {{ form_errors(form.name.name02) }}
  439.                                 </div>
  440.                             </dd>
  441.                         </dl>
  442.                         <dl>
  443.                             <dt>
  444.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  445.                             </dt>
  446.                             <dd>
  447.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  448.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  449.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  450.                                     {{ form_errors(form.kana.kana01) }}
  451.                                     {{ form_errors(form.kana.kana02) }}
  452.                                 </div>
  453.                             </dd>
  454.                         </dl>
  455.                         <dl>
  456.                             <dt>
  457.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  458.                             </dt>
  459.                             <dd>
  460.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  461.                                     <span>{{ '〒'|trans }}</span>
  462.                                     {{ form_widget(form.postal_code) }}
  463.                                     <div class=\"ec-zipInputHelp\">
  464.                                         <div class=\"ec-zipInputHelp__icon\">
  465.                                             <div class=\"ec-icon\"><img
  466.                                                     src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  467.                                             </div>
  468.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  469.                                     </div>
  470.                                     {{ form_errors(form.postal_code) }}
  471.                                 </div>
  472.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  473.                                     {{ form_widget(form.address.pref) }}
  474.                                     {{ form_errors(form.address.pref) }}
  475.                                 </div>
  476.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  477.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  478.                                     {{ form_errors(form.address.addr01) }}
  479.                                 </div>
  480.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  481.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  482.                                     {{ form_errors(form.address.addr02) }}
  483.                                 </div>
  484.                             </dd>
  485.                         </dl>
  486.                         <dl>
  487.                             <dt>
  488.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  489.                             </dt>
  490.                             <dd>
  491.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  492.                                     {{ form_widget(form.phone_number) }}
  493.                                     {{ form_errors(form.phone_number) }}
  494.                                 </div>
  495.                             </dd>
  496.                         </dl>
  497.                         <dl>
  498.                             <dt>
  499.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  500.                             </dt>
  501.                             <dd>
  502.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  503.                                     {{ form_widget(form.email) }}
  504.                                     {{ form_errors(form.email) }}
  505.                                 </div>
  506.                             </dd>
  507.                         </dl>
  508.                         <dl>
  509.                             <dt>
  510.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  511.                             </dt>
  512.                             <dd>
  513.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  514.                                     {{ form_widget(form.contents) }}
  515.                                     {{ form_errors(form.contents) }}
  516.                                 </div>
  517.                                 <p>{{ 'ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  518.                             </dd>
  519.                         </dl>
  520.                         {# エンティティ拡張の自動出力 #}
  521.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  522.                             {% if f.vars.eccube_form_options.form_theme %}
  523.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  524.                                 {{ form_row(f) }}
  525.                             {% else %}
  526.                                 <dl>
  527.                                     <dt>
  528.                                         {{ form_label(f) }}
  529.                                     </dt>
  530.                                     <dd>
  531.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  532.                                             {{ form_widget(f) }}
  533.                                             {{ form_errors(f) }}
  534.                                         </div>
  535.                                     </dd>
  536.                                 </dl>
  537.                             {% endif %}
  538.                         {% endfor %}
  539.                     </div>
  540.                     <div class=\"ec-RegisterRole__actions\">
  541.                         <div class=\"ec-off4Grid\">
  542.                             <div class=\"ec-off4Grid__cell\">
  543.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  544.                                 </button>
  545.                             </div>
  546.                         </div>
  547.                     </div>
  548.                 </form>
  549.             </div>
  550.         </div>
  551.     </div>
  552. {% endblock %}
  553. ""@user_data/buy.twig""/home/swift01/towakensetsu.jp/public_html/app/template/user_data/buy.twig");
  554.     }
  555. }