var/cache/dev/twig/64/647b1af2bdc181c0bec6df49facefd99.php line 55

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