var/cache/dev/twig/98/98836060dc799042796d6d2d42992fe45a70f893f5ae4026bb1e3774f2d56ef0.php line 16

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