var/cache/dev/twig/0b/0b16ccddae193f47444c7128159f368c.php line 40

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