var/cache/dev/twig/fd/fdb1dbdffef361b9ff203f141baf85ed0aff721f2a241c215bfa26a33722047a.php line 39

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