var/cache/dev/twig/14/142f4b3a09083d8fc65a92ff1de22d6bf798868d275897badc190e4c848b3374.php line 54

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_70dfe7a44b2fcab34863abae8e5b070b89142d28baea966c8794f15d3e5263a1 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 15
  42.         $context["body_class"] = "contact";
  43.         // line 11
  44.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"11);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 17
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  59.         // line 18
  60.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 21
  68.     public function block_main($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  75.         // line 22
  76.         echo "
  77.     <div class=\"ec-contactRole\">
  78.         <div class=\"ec-pageHeader\">
  79.             <h1>";
  80.         // line 25
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  82.         echo "</h1>
  83.         </div>
  84.         <div class=\"ec-off1Grid\">
  85.             <div class=\"ec-off1Grid__cell\">
  86.                 <form method=\"post\" action=\"";
  87.         // line 29
  88.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  89.         echo "\" class=\"h-adr\" novalidate>
  90.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  91.                     ";
  92.         // line 31
  93.         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.'31$this->source); })()), "_token", [], "any"falsefalsefalse31), 'widget');
  94.         echo "
  95.                     <p class=\"ec-para-normal\">";
  96.         // line 32
  97.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるのにお時間をいただくこともございます。
  98. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  99. "), "html"nulltrue));
  100.         // line 34
  101.         echo "</p>
  102.                     <div class=\"ec-borderedDefs\">
  103.                         <dl>
  104.                             <dt>
  105.                                 ";
  106.         // line 38
  107.         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.'38$this->source); })()), "name", [], "any"falsefalsefalse38), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  108.         echo "
  109.                             </dt>
  110.                             <dd>
  111.                                 <div class=\"ec-halfInput";
  112.         // line 41
  113.         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.'41$this->source); })()), "name", [], "any"falsefalsefalse41), "name01", [], "any"falsefalsefalse41), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'41$this->source); })()), "name", [], "any"falsefalsefalse41), "name02", [], "any"falsefalsefalse41))) ? (" error") : (""));
  114.         echo "\">
  115.                                     ";
  116.         // line 42
  117.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'42$this->source); })()), "name", [], "any"falsefalsefalse42), "name01", [], "any"falsefalsefalse42), 'widget', ["attr" => ["placeholder" => "姓"]]);
  118.         echo "
  119.                                     ";
  120.         // line 43
  121.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "name", [], "any"falsefalsefalse43), "name02", [], "any"falsefalsefalse43), 'widget', ["attr" => ["placeholder" => "名"]]);
  122.         echo "
  123.                                     ";
  124.         // line 44
  125.         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), "name01", [], "any"falsefalsefalse44), 'errors');
  126.         echo "
  127.                                     ";
  128.         // line 45
  129.         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.'45$this->source); })()), "name", [], "any"falsefalsefalse45), "name02", [], "any"falsefalsefalse45), 'errors');
  130.         echo "
  131.                                 </div>
  132.                             </dd>
  133.                         </dl>
  134.                         <dl>
  135.                             <dt>
  136.                                 ";
  137.         // line 51
  138.         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.'51$this->source); })()), "kana", [], "any"falsefalsefalse51), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  139.         echo "
  140.                             </dt>
  141.                             <dd>
  142.                                 <div class=\"ec-halfInput";
  143.         // line 54
  144.         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.'54$this->source); })()), "kana", [], "any"falsefalsefalse54), "kana01", [], "any"falsefalsefalse54), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'54$this->source); })()), "kana", [], "any"falsefalsefalse54), "kana02", [], "any"falsefalsefalse54))) ? (" error") : (""));
  145.         echo "\">
  146.                                     ";
  147.         // line 55
  148.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "kana", [], "any"falsefalsefalse55), "kana01", [], "any"falsefalsefalse55), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  149.         echo "
  150.                                     ";
  151.         // line 56
  152.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "kana", [], "any"falsefalsefalse56), "kana02", [], "any"falsefalsefalse56), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  153.         echo "
  154.                                     ";
  155.         // line 57
  156.         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), "kana01", [], "any"falsefalsefalse57), 'errors');
  157.         echo "
  158.                                     ";
  159.         // line 58
  160.         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.'58$this->source); })()), "kana", [], "any"falsefalsefalse58), "kana02", [], "any"falsefalsefalse58), 'errors');
  161.         echo "
  162.                                 </div>
  163.                             </dd>
  164.                         </dl>
  165.                         <dl>
  166.                             <dt>
  167.                                 ";
  168.         // line 64
  169.         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.'64$this->source); })()), "address", [], "any"falsefalsefalse64), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  170.         echo "
  171.                             </dt>
  172.                             <dd>
  173.                                 <div class=\"ec-zipInput";
  174.         // line 67
  175.         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.'67$this->source); })()), "postal_code", [], "any"falsefalsefalse67))) ? (" error") : (""));
  176.         echo "\">
  177.                                     <span>";
  178.         // line 68
  179.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  180.         echo "</span>
  181.                                     ";
  182.         // line 69
  183.         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.'69$this->source); })()), "postal_code", [], "any"falsefalsefalse69), 'widget');
  184.         echo "
  185.                                     ";
  186.         // line 70
  187.         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.'70$this->source); })()), "postal_code", [], "any"falsefalsefalse70), 'errors');
  188.         echo "
  189.                                 </div>
  190.                                 <div class=\"ec-zipInputHelp\">
  191.                                     <div class=\"ec-zipInputHelp__icon\">
  192.                                         <div class=\"ec-icon\"><img src=\"";
  193.         // line 74
  194.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  195.         echo "\" alt=\"\"></div>
  196.                                     </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  197.         // line 75
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  199.         echo "</span></a>
  200.                                 </div>
  201.                                 ";
  202.         // line 77
  203.         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.'77$this->source); })()), "postal_code", [], "any"falsefalsefalse77), 'errors');
  204.         echo "
  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.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'label');
  343.                 echo "
  344.                                     </dt>
  345.                                     <dd>
  346.                                         <div class=\"";
  347.                 // line 137
  348.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse137), "eccube_form_options", [], "any"falsefalsefalse137), "style_class", [], "any"falsefalsefalse137), "html"nulltrue);
  349.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($context["f"])) ? (" error") : (""));
  350.                 echo "\">
  351.                                             ";
  352.                 // line 138
  353.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'widget');
  354.                 echo "
  355.                                             ";
  356.                 // line 139
  357.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'errors');
  358.                 echo "
  359.                                         </div>
  360.                                     </dd>
  361.                                 </dl>
  362.                             ";
  363.             }
  364.             // line 144
  365.             echo "                        ";
  366.         }
  367.         $_parent $context['_parent'];
  368.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  369.         $context array_intersect_key($context$_parent) + $_parent;
  370.         // line 145
  371.         echo "                    </div>
  372.                     <div class=\"ec-RegisterRole__actions\">
  373.                         <div class=\"ec-off4Grid\">
  374.                             <div class=\"ec-off4Grid__cell\">
  375.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  376.         // line 149
  377.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  378.         echo "
  379.                                 </button>
  380.                             </div>
  381.                         </div>
  382.                     </div>
  383.                 </form>
  384.             </div>
  385.         </div>
  386.     </div>
  387. ";
  388.         
  389.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  390.         
  391.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  392.     }
  393.     public function getTemplateName()
  394.     {
  395.         return "Contact/index.twig";
  396.     }
  397.     public function isTraitable()
  398.     {
  399.         return false;
  400.     }
  401.     public function getDebugInfo()
  402.     {
  403.         return array (  396 => 149,  390 => 145,  384 => 144,  376 => 139,  372 => 138,  367 => 137,  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,  222 => 77,  217 => 75,  213 => 74,  206 => 70,  202 => 69,  198 => 68,  194 => 67,  188 => 64,  179 => 58,  175 => 57,  171 => 56,  167 => 55,  163 => 54,  157 => 51,  148 => 45,  144 => 44,  140 => 43,  136 => 42,  132 => 41,  126 => 38,  120 => 34,  116 => 32,  112 => 31,  107 => 29,  100 => 25,  95 => 22,  85 => 21,  74 => 18,  64 => 17,  53 => 11,  51 => 15,  49 => 13,  36 => 11,);
  404.     }
  405.     public function getSourceContext()
  406.     {
  407.         return new Source("{#
  408. This file is part of EC-CUBE
  409. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  410. http://www.ec-cube.co.jp/
  411. For the full copyright and license information, please view the LICENSE
  412. file that was distributed with this source code.
  413. #}
  414. {% extends 'default_frame.twig' %}
  415. {% form_theme form 'Form/form_div_layout.twig' %}
  416. {% set body_class = 'contact' %}
  417. {% block javascript %}
  418.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  419. {% endblock javascript %}
  420. {% block main %}
  421.     <div class=\"ec-contactRole\">
  422.         <div class=\"ec-pageHeader\">
  423.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  424.         </div>
  425.         <div class=\"ec-off1Grid\">
  426.             <div class=\"ec-off1Grid__cell\">
  427.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  428.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  429.                     {{ form_widget(form._token) }}
  430.                     <p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
  431. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  432. '|trans|nl2br }}</p>
  433.                     <div class=\"ec-borderedDefs\">
  434.                         <dl>
  435.                             <dt>
  436.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  437.                             </dt>
  438.                             <dd>
  439.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  440.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  441.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  442.                                     {{ form_errors(form.name.name01) }}
  443.                                     {{ form_errors(form.name.name02) }}
  444.                                 </div>
  445.                             </dd>
  446.                         </dl>
  447.                         <dl>
  448.                             <dt>
  449.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  450.                             </dt>
  451.                             <dd>
  452.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  453.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  454.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  455.                                     {{ form_errors(form.kana.kana01) }}
  456.                                     {{ form_errors(form.kana.kana02) }}
  457.                                 </div>
  458.                             </dd>
  459.                         </dl>
  460.                         <dl>
  461.                             <dt>
  462.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  463.                             </dt>
  464.                             <dd>
  465.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  466.                                     <span>{{ '〒'|trans }}</span>
  467.                                     {{ form_widget(form.postal_code) }}
  468.                                     {{ form_errors(form.postal_code) }}
  469.                                 </div>
  470.                                 <div class=\"ec-zipInputHelp\">
  471.                                     <div class=\"ec-zipInputHelp__icon\">
  472.                                         <div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\"></div>
  473.                                     </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  474.                                 </div>
  475.                                 {{ form_errors(form.postal_code) }}
  476.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  477.                                     {{ form_widget(form.address.pref) }}
  478.                                     {{ form_errors(form.address.pref) }}
  479.                                 </div>
  480.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  481.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  482.                                     {{ form_errors(form.address.addr01) }}
  483.                                 </div>
  484.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  485.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  486.                                     {{ form_errors(form.address.addr02) }}
  487.                                 </div>
  488.                             </dd>
  489.                         </dl>
  490.                         <dl>
  491.                             <dt>
  492.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  493.                             </dt>
  494.                             <dd>
  495.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  496.                                     {{ form_widget(form.phone_number) }}
  497.                                     {{ form_errors(form.phone_number) }}
  498.                                 </div>
  499.                             </dd>
  500.                         </dl>
  501.                         <dl>
  502.                             <dt>
  503.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  504.                             </dt>
  505.                             <dd>
  506.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  507.                                     {{ form_widget(form.email) }}
  508.                                     {{ form_errors(form.email) }}
  509.                                 </div>
  510.                             </dd>
  511.                         </dl>
  512.                         <dl>
  513.                             <dt>
  514.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  515.                             </dt>
  516.                             <dd>
  517.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  518.                                     {{ form_widget(form.contents) }}
  519.                                     {{ form_errors(form.contents) }}
  520.                                 </div>
  521.                                 <p>{{ 'ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  522.                             </dd>
  523.                         </dl>
  524.                         {# エンティティ拡張の自動出力 #}
  525.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  526.                             {% if f.vars.eccube_form_options.form_theme %}
  527.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  528.                                 {{ form_row(f) }}
  529.                             {% else %}
  530.                                 <dl>
  531.                                     <dt>
  532.                                         {{ form_label(f) }}
  533.                                     </dt>
  534.                                     <dd>
  535.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  536.                                             {{ form_widget(f) }}
  537.                                             {{ form_errors(f) }}
  538.                                         </div>
  539.                                     </dd>
  540.                                 </dl>
  541.                             {% endif %}
  542.                         {% endfor %}
  543.                     </div>
  544.                     <div class=\"ec-RegisterRole__actions\">
  545.                         <div class=\"ec-off4Grid\">
  546.                             <div class=\"ec-off4Grid__cell\">
  547.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  548.                                 </button>
  549.                             </div>
  550.                         </div>
  551.                     </div>
  552.                 </form>
  553.             </div>
  554.         </div>
  555.     </div>
  556. {% endblock %}
  557. ""Contact/index.twig""/home/noie373zam/public_html/noiezam-ec/app/template/bynoiezam/Contact/index.twig");
  558.     }
  559. }