var/cache/dev/twig/4e/4e484c6be8bdba6c6056c23c1654d259d21711617e3619e7517d23771c0aa5ea.php line 16

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Contact/index.twig */
  14. class __TwigTemplate_07e66c960213ef7efa394c5c780e879663d9459cbc3442a274b84c4f029b043b extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  39.         // line 13
  40.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  59. ";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 19
  66.     public function block_main($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  73.         // line 20
  74.         echo "
  75.     <div class=\"ec-contactRole\">
  76.         <div class=\"ec-pageHeader\">
  77.             <h1>";
  78.         // line 23
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  80.         echo "</h1>
  81.         </div>
  82.         <div class=\"ec-off1Grid\">
  83.             <div class=\"ec-off1Grid__cell\">
  84.                 <form method=\"post\" action=\"";
  85.         // line 27
  86.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  87.         echo "\" class=\"h-adr\" novalidate>
  88.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  89.                     ";
  90.         // line 29
  91.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "_token", [], "any"falsefalsefalse29), 'widget');
  92.         echo "
  93.                     <p class=\"ec-para-normal\">";
  94.         // line 30
  95.         echo nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるのにお時間をいただくこともございます。
  96. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  97. "), "html"nulltrue));
  98.         // line 32
  99.         echo "</p>
  100.                     <div class=\"ec-borderedDefs\">
  101.                         <dl>
  102.                             <dt>
  103.                                 ";
  104.         // line 36
  105.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'36$this->source); })()), "name", [], "any"falsefalsefalse36), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  106.         echo "
  107.                             </dt>
  108.                             <dd>
  109.                                 <div class=\"ec-halfInput";
  110.         // line 39
  111.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'39$this->source); })()), "name", [], "any"falsefalsefalse39), "name01", [], "any"falsefalsefalse39), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'39$this->source); })()), "name", [], "any"falsefalsefalse39), "name02", [], "any"falsefalsefalse39))) ? (" error") : (""));
  112.         echo "\">
  113.                                     ";
  114.         // line 40
  115.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'40$this->source); })()), "name", [], "any"falsefalsefalse40), "name01", [], "any"falsefalsefalse40), 'widget', ["attr" => ["placeholder" => "姓"]]);
  116.         echo "
  117.                                     ";
  118.         // line 41
  119.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'41$this->source); })()), "name", [], "any"falsefalsefalse41), "name02", [], "any"falsefalsefalse41), 'widget', ["attr" => ["placeholder" => "名"]]);
  120.         echo "
  121.                                     ";
  122.         // line 42
  123.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'42$this->source); })()), "name", [], "any"falsefalsefalse42), "name01", [], "any"falsefalsefalse42), 'errors');
  124.         echo "
  125.                                     ";
  126.         // line 43
  127.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "name", [], "any"falsefalsefalse43), "name02", [], "any"falsefalsefalse43), 'errors');
  128.         echo "
  129.                                 </div>
  130.                             </dd>
  131.                         </dl>
  132.                         <dl>
  133.                             <dt>
  134.                                 ";
  135.         // line 49
  136.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'49$this->source); })()), "kana", [], "any"falsefalsefalse49), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  137.         echo "
  138.                             </dt>
  139.                             <dd>
  140.                                 <div class=\"ec-halfInput";
  141.         // line 52
  142.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'52$this->source); })()), "kana", [], "any"falsefalsefalse52), "kana01", [], "any"falsefalsefalse52), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'52$this->source); })()), "kana", [], "any"falsefalsefalse52), "kana02", [], "any"falsefalsefalse52))) ? (" error") : (""));
  143.         echo "\">
  144.                                     ";
  145.         // line 53
  146.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'53$this->source); })()), "kana", [], "any"falsefalsefalse53), "kana01", [], "any"falsefalsefalse53), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  147.         echo "
  148.                                     ";
  149.         // line 54
  150.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'54$this->source); })()), "kana", [], "any"falsefalsefalse54), "kana02", [], "any"falsefalsefalse54), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  151.         echo "
  152.                                     ";
  153.         // line 55
  154.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "kana", [], "any"falsefalsefalse55), "kana01", [], "any"falsefalsefalse55), 'errors');
  155.         echo "
  156.                                     ";
  157.         // line 56
  158.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "kana", [], "any"falsefalsefalse56), "kana02", [], "any"falsefalsefalse56), 'errors');
  159.         echo "
  160.                                 </div>
  161.                             </dd>
  162.                         </dl>
  163.                         <dl>
  164.                             <dt>
  165.                                 ";
  166.         // line 62
  167.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'62$this->source); })()), "address", [], "any"falsefalsefalse62), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  168.         echo "
  169.                             </dt>
  170.                             <dd>
  171.                                 <div class=\"ec-zipInput";
  172.         // line 65
  173.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'65$this->source); })()), "postal_code", [], "any"falsefalsefalse65))) ? (" error") : (""));
  174.         echo "\">
  175.                                     <span>";
  176.         // line 66
  177.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  178.         echo "</span>
  179.                                     ";
  180.         // line 67
  181.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'67$this->source); })()), "postal_code", [], "any"falsefalsefalse67), 'widget');
  182.         echo "
  183.                                     ";
  184.         // line 68
  185.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'68$this->source); })()), "postal_code", [], "any"falsefalsefalse68), 'errors');
  186.         echo "
  187.                                 </div>
  188.                                 <div class=\"ec-zipInputHelp\">
  189.                                     <div class=\"ec-zipInputHelp__icon\">
  190.                                         <div class=\"ec-icon\"><img
  191.                                                     src=\"";
  192.         // line 73
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  194.         echo "\" alt=\"\">
  195.                                         </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,  212 => 73,  204 => 68,  200 => 67,  196 => 66,  192 => 65,  186 => 62,  177 => 56,  173 => 55,  169 => 54,  165 => 53,  161 => 52,  155 => 49,  146 => 43,  142 => 42,  138 => 41,  134 => 40,  130 => 39,  124 => 36,  118 => 32,  114 => 30,  110 => 29,  105 => 27,  98 => 23,  93 => 20,  83 => 19,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  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. {% block javascript %}
  417.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  418. {% endblock javascript %}
  419. {% block main %}
  420.     <div class=\"ec-contactRole\">
  421.         <div class=\"ec-pageHeader\">
  422.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  423.         </div>
  424.         <div class=\"ec-off1Grid\">
  425.             <div class=\"ec-off1Grid__cell\">
  426.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  427.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  428.                     {{ form_widget(form._token) }}
  429.                     <p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
  430. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  431. '|trans|nl2br }}</p>
  432.                     <div class=\"ec-borderedDefs\">
  433.                         <dl>
  434.                             <dt>
  435.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  436.                             </dt>
  437.                             <dd>
  438.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  439.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  440.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  441.                                     {{ form_errors(form.name.name01) }}
  442.                                     {{ form_errors(form.name.name02) }}
  443.                                 </div>
  444.                             </dd>
  445.                         </dl>
  446.                         <dl>
  447.                             <dt>
  448.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  449.                             </dt>
  450.                             <dd>
  451.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  452.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  453.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  454.                                     {{ form_errors(form.kana.kana01) }}
  455.                                     {{ form_errors(form.kana.kana02) }}
  456.                                 </div>
  457.                             </dd>
  458.                         </dl>
  459.                         <dl>
  460.                             <dt>
  461.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  462.                             </dt>
  463.                             <dd>
  464.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  465.                                     <span>{{ '〒'|trans }}</span>
  466.                                     {{ form_widget(form.postal_code) }}
  467.                                     {{ form_errors(form.postal_code) }}
  468.                                 </div>
  469.                                 <div class=\"ec-zipInputHelp\">
  470.                                     <div class=\"ec-zipInputHelp__icon\">
  471.                                         <div class=\"ec-icon\"><img
  472.                                                     src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  473.                                         </div>
  474.                                     </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  475.                                 </div>
  476.                                 {{ form_errors(form.postal_code) }}
  477.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  478.                                     {{ form_widget(form.address.pref) }}
  479.                                     {{ form_errors(form.address.pref) }}
  480.                                 </div>
  481.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  482.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  483.                                     {{ form_errors(form.address.addr01) }}
  484.                                 </div>
  485.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  486.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  487.                                     {{ form_errors(form.address.addr02) }}
  488.                                 </div>
  489.                             </dd>
  490.                         </dl>
  491.                         <dl>
  492.                             <dt>
  493.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  494.                             </dt>
  495.                             <dd>
  496.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  497.                                     {{ form_widget(form.phone_number) }}
  498.                                     {{ form_errors(form.phone_number) }}
  499.                                 </div>
  500.                             </dd>
  501.                         </dl>
  502.                         <dl>
  503.                             <dt>
  504.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  505.                             </dt>
  506.                             <dd>
  507.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  508.                                     {{ form_widget(form.email) }}
  509.                                     {{ form_errors(form.email) }}
  510.                                 </div>
  511.                             </dd>
  512.                         </dl>
  513.                         <dl>
  514.                             <dt>
  515.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  516.                             </dt>
  517.                             <dd>
  518.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  519.                                     {{ form_widget(form.contents) }}
  520.                                     {{ form_errors(form.contents) }}
  521.                                 </div>
  522.                                 <p>{{ 'ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  523.                             </dd>
  524.                         </dl>
  525.                         {# エンティティ拡張の自動出力 #}
  526.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  527.                             {% if f.vars.eccube_form_options.form_theme %}
  528.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  529.                                 {{ form_row(f) }}
  530.                             {% else %}
  531.                                 <dl>
  532.                                     <dt>
  533.                                         {{ form_label(f) }}
  534.                                     </dt>
  535.                                     <dd>
  536.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  537.                                             {{ form_widget(f) }}
  538.                                             {{ form_errors(f) }}
  539.                                         </div>
  540.                                     </dd>
  541.                                 </dl>
  542.                             {% endif %}
  543.                         {% endfor %}
  544.                     </div>
  545.                     <div class=\"ec-RegisterRole__actions\">
  546.                         <div class=\"ec-off4Grid\">
  547.                             <div class=\"ec-off4Grid__cell\">
  548.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  549.                                 </button>
  550.                             </div>
  551.                         </div>
  552.                     </div>
  553.                 </form>
  554.             </div>
  555.         </div>
  556.     </div>
  557. {% endblock %}
  558. ""Contact/index.twig""/home/ny-paradisa/public_html/app/template/default/Contact/index.twig");
  559.     }
  560. }