var/cache/dev/twig/64/647b1af2bdc181c0bec6df49facefd99.php line 42

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_192ad27f11d57c4493eb933ec864744e 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.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  42.         // line 13
  43.         $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);
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_javascript($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  60.         // line 16
  61.         echo "     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  62. ";
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.     }
  68.     // line 20
  69.     public function block_stylesheet($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  76.         // line 21
  77.         echo "<style>
  78. </style>
  79.   
  80. ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 34
  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 35
  95.         echo "
  96.     <div class=\"ec-contactRole\">
  97.         <div class=\"ec-pageHeader\">
  98.             <h1 class=\"km_pagetitle_ft\">";
  99.         // line 38
  100.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.title"), "html"nulltrue);
  101.         echo "</h1>
  102.         </div>
  103.         <div class=\"ec-off1Grid\">
  104.             <div class=\"ec-off1Grid__cell\">
  105.                 <form method=\"post\" action=\"";
  106.         // line 42
  107.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  108.         echo "\" novalidate>
  109.                     ";
  110.         // line 43
  111.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'43$this->source); })()), "_token", [], "any"falsefalsetrue43), 43$this->source), 'widget');
  112.         echo "
  113.                     <p class=\"ec-para-normal\">";
  114.         // line 44
  115.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.inquiry_notice"), "html"nulltrue));
  116.         echo "</p>
  117.                     <div class=\"ec-borderedDefs\">
  118.                         <dl>
  119.                             <dt>
  120.                                 ";
  121.         // line 48
  122.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'48$this->source); })()), "name", [], "any"falsefalsetrue48), 48$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.name"]);
  123.         echo "
  124.                             </dt>
  125.                             <dd>
  126.                                 <div class=\"ec-halfInput";
  127.         // line 51
  128.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(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.'51$this->source); })()), "name", [], "any"falsefalsetrue51), "name01", [], "any"falsefalsetrue51), 51$this->source), $this->sandbox->ensureToStringAllowed(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.'51$this->source); })()), "name", [], "any"falsefalsetrue51), "name02", [], "any"falsefalsetrue51), 51$this->source))) ? (" error") : (""));
  129.         echo "\">
  130.                                     ";
  131.         // line 52
  132.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "name", [], "any"falsefalsetrue52), "name01", [], "any"falsefalsetrue52), 52$this->source), 'widget', ["attr" => ["placeholder" => "common.last_name"]]);
  133.         echo "
  134.                                     ";
  135.         // line 53
  136.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "name", [], "any"falsefalsetrue53), "name02", [], "any"falsefalsetrue53), 53$this->source), 'widget', ["attr" => ["placeholder" => "common.first_name"]]);
  137.         echo "
  138.                                     ";
  139.         // line 54
  140.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "name", [], "any"falsefalsetrue54), "name01", [], "any"falsefalsetrue54), 54$this->source), 'errors');
  141.         echo "
  142.                                     ";
  143.         // line 55
  144.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "name", [], "any"falsefalsetrue55), "name02", [], "any"falsefalsetrue55), 55$this->source), 'errors');
  145.         echo "
  146.                                 </div>
  147.                             </dd>
  148.                         </dl>
  149.                         <dl style=\"display: none;\">
  150.                             ";
  151.         // line 60
  152.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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"falsefalsetrue60), "kana01", [], "any"falsefalsetrue60), 60$this->source), 'widget');
  153.         echo "
  154.                             ";
  155.         // line 61
  156.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'61$this->source); })()), "kana", [], "any"falsefalsetrue61), "kana02", [], "any"falsefalsetrue61), 61$this->source), 'widget');
  157.         echo "
  158.                         </dl>
  159.                         <dl>
  160.                             <dt>
  161.                                 ";
  162.         // line 65
  163.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "phone_number", [], "any"falsefalsetrue65), 65$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.phone_number"]);
  164.         echo "
  165.                             </dt>
  166.                             <dd>
  167.                                 <div class=\"ec-telInput";
  168.         // line 68
  169.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(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); })()), "phone_number", [], "any"falsefalsetrue68), 68$this->source))) ? (" error") : (""));
  170.         echo "\">
  171.                                     ";
  172.         // line 69
  173.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "phone_number", [], "any"falsefalsetrue69), 69$this->source), 'widget');
  174.         echo "
  175.                                     ";
  176.         // line 70
  177.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'70$this->source); })()), "phone_number", [], "any"falsefalsetrue70), 70$this->source), 'errors');
  178.         echo "
  179.                                 </div>
  180.                             </dd>
  181.                         </dl>
  182.                         <dl>
  183.                             <dt>
  184.                                 ";
  185.         // line 76
  186.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'76$this->source); })()), "email", [], "any"falsefalsetrue76), 76$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.mail_address"]);
  187.         echo "
  188.                             </dt>
  189.                             <dd>
  190.                                 <div class=\"ec-input";
  191.         // line 79
  192.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(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); })()), "email", [], "any"falsefalsetrue79), "first", [], "any"falsefalsetrue79), 79$this->source))) ? (" error") : (""));
  193.         echo "\">
  194.                                     ";
  195.         // line 80
  196.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "email", [], "any"falsefalsetrue80), "first", [], "any"falsefalsetrue80), 80$this->source), 'widget', ["attr" => ["placeholder" => "common.mail_address_sample"]]);
  197.         echo "
  198.                                     ";
  199.         // line 81
  200.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "email", [], "any"falsefalsetrue81), "first", [], "any"falsefalsetrue81), 81$this->source), 'errors');
  201.         echo "
  202.                                 </div>
  203.                                 <div class=\"ec-input";
  204.         // line 83
  205.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(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); })()), "email", [], "any"falsefalsetrue83), "second", [], "any"falsefalsetrue83), 83$this->source))) ? (" error") : (""));
  206.         echo "\">
  207.                                     ";
  208.         // line 84
  209.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "email", [], "any"falsefalsetrue84), "second", [], "any"falsefalsetrue84), 84$this->source), 'widget', ["attr" => ["placeholder" => "common.repeated_confirm"]]);
  210.         echo "
  211.                                     ";
  212.         // line 85
  213.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "email", [], "any"falsefalsetrue85), "second", [], "any"falsefalsetrue85), 85$this->source), 'errors');
  214.         echo "
  215.                                 </div>
  216.                             </dd>
  217.                         </dl>
  218.                         <dl>
  219.                             <dt>
  220.                                 ";
  221.         // line 91
  222.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'91$this->source); })()), "contents", [], "any"falsefalsetrue91), 91$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "front.contact.inquiry_contents"]);
  223.         echo "
  224.                             </dt>
  225.                             <dd>
  226.                                 <div class=\"ec-input";
  227.         // line 94
  228.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(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); })()), "contents", [], "any"falsefalsetrue94), 94$this->source))) ? (" error") : (""));
  229.         echo "\">
  230.                                     ";
  231.         // line 95
  232.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'95$this->source); })()), "contents", [], "any"falsefalsetrue95), 95$this->source), 'widget');
  233.         echo "
  234.                                     ";
  235.         // line 96
  236.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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); })()), "contents", [], "any"falsefalsetrue96), 96$this->source), 'errors');
  237.         echo "
  238.                                 </div>
  239.                                 <p>";
  240.         // line 98
  241.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.order_notice"), "html"nulltrue);
  242.         echo "</p>
  243.                             </dd>
  244.                         </dl>
  245.                         ";
  246.         // line 102
  247.         echo "                        ";
  248.         $context['_parent'] = $context;
  249.         $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.'102$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"falsefalsetrue102), "eccube_form_options", [], "any"falsefalsetrue102), "auto_render", [], "any"falsefalsetrue102); }));
  250.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  251.             // line 103
  252.             echo "                            ";
  253.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue103), "eccube_form_options", [], "any"falsefalsetrue103), "form_theme", [], "any"falsefalsetrue103)) {
  254.                 // line 104
  255.                 echo "                                ";
  256.                 $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"falsefalsetrue104), "eccube_form_options", [], "any"falsefalsetrue104), "form_theme", [], "any"falsefalsetrue104)], true);
  257.                 // line 105
  258.                 echo "                                ";
  259.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 105$this->source), 'row');
  260.                 echo "
  261.                             ";
  262.             } else {
  263.                 // line 107
  264.                 echo "                                <dl>
  265.                                     <dt>
  266.                                         ";
  267.                 // line 109
  268.                 $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"falsetruetrue109), "label_attr", [], "any"falsetruetrue109), "class", [], "any"truetruetrue109)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue109), "label_attr", [], "any"falsefalsetrue109), "class", [], "any"falsefalsetrue109)) : (""));
  269.                 // line 110
  270.                 echo "                                        ";
  271.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 110$this->source), 'label', ["label_attr" => ["class" => ($this->sandbox->ensureToStringAllowed((isset($context["label_class"]) || array_key_exists("label_class"$context) ? $context["label_class"] : (function () { throw new RuntimeError('Variable "label_class" does not exist.'110$this->source); })()), 110$this->source) . " ec-label")]] + (twig_test_empty($_label_ $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue110), "label", [], "any"falsefalsetrue110), 110$this->source)) ? [] : ["label" => $_label_]));
  272.                 echo "
  273.                                     </dt>
  274.                                     <dd>
  275.                                         <div class=\"";
  276.                 // line 113
  277.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue113), "eccube_form_options", [], "any"falsefalsetrue113), "style_class", [], "any"falsefalsetrue113), 113$this->source), "html"nulltrue);
  278.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 113$this->source))) ? (" error") : (""));
  279.                 echo "\">
  280.                                             ";
  281.                 // line 114
  282.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 114$this->source), 'widget');
  283.                 echo "
  284.                                             ";
  285.                 // line 115
  286.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 115$this->source), 'errors');
  287.                 echo "
  288.                                         </div>
  289.                                     </dd>
  290.                                 </dl>
  291.                             ";
  292.             }
  293.             // line 120
  294.             echo "                        ";
  295.         }
  296.         $_parent $context['_parent'];
  297.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  298.         $context array_intersect_key($context$_parent) + $_parent;
  299.         // line 121
  300.         echo "                    </div>
  301.                     <div class=\"ec-RegisterRole__actions\">
  302.                         <div class=\"ec-off4Grid\">
  303.                             <div class=\"ec-off4Grid__cell\">
  304.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  305.         // line 125
  306.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.go_to_confirm"), "html"nulltrue);
  307.         echo "
  308.                                 </button>
  309.                             </div>
  310.                         </div>
  311.                     </div>
  312.                 </form>
  313.                 <p>";
  314.         // line 131
  315.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.form_message1"), "html"nulltrue);
  316.         echo "<br>
  317.                     ";
  318.         // line 132
  319.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.form_message2"), "html"nulltrue);
  320.         echo "<a href=\"https://kofun.co.jp/contact\">コチラ</a>
  321.                     ";
  322.         // line 133
  323.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.form_message3"), "html"nulltrue);
  324.         echo "
  325.                 </p>
  326.             </div>
  327.         </div>
  328.     </div>
  329. ";
  330.         
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332.         
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  334.     }
  335.     public function getTemplateName()
  336.     {
  337.         return "Contact/index.twig";
  338.     }
  339.     public function isTraitable()
  340.     {
  341.         return false;
  342.     }
  343.     public function getDebugInfo()
  344.     {
  345.         return array (  350 => 133,  346 => 132,  342 => 131,  333 => 125,  327 => 121,  321 => 120,  313 => 115,  309 => 114,  304 => 113,  297 => 110,  295 => 109,  291 => 107,  285 => 105,  282 => 104,  279 => 103,  274 => 102,  268 => 98,  263 => 96,  259 => 95,  255 => 94,  249 => 91,  240 => 85,  236 => 84,  232 => 83,  227 => 81,  223 => 80,  219 => 79,  213 => 76,  204 => 70,  200 => 69,  196 => 68,  190 => 65,  183 => 61,  179 => 60,  171 => 55,  167 => 54,  163 => 53,  159 => 52,  155 => 51,  149 => 48,  142 => 44,  138 => 43,  134 => 42,  127 => 38,  122 => 35,  112 => 34,  96 => 21,  86 => 20,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  346.     }
  347.     public function getSourceContext()
  348.     {
  349.         return new Source("{#
  350. This file is part of EC-CUBE
  351. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  352. http://www.ec-cube.co.jp/
  353. For the full copyright and license information, please view the LICENSE
  354. file that was distributed with this source code.
  355. #}
  356. {% extends 'default_frame.twig' %}
  357. {% form_theme form 'Form/form_div_layout.twig' %}
  358. {% block javascript %}
  359.      <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  360. {% endblock javascript %}
  361. {% block stylesheet %}
  362. <style>
  363. </style>
  364.   
  365. {% endblock %}
  366. {% block main %}
  367.     <div class=\"ec-contactRole\">
  368.         <div class=\"ec-pageHeader\">
  369.             <h1 class=\"km_pagetitle_ft\">{{ 'front.contact.title'|trans }}</h1>
  370.         </div>
  371.         <div class=\"ec-off1Grid\">
  372.             <div class=\"ec-off1Grid__cell\">
  373.                 <form method=\"post\" action=\"{{ url('contact') }}\" novalidate>
  374.                     {{ form_widget(form._token) }}
  375.                     <p class=\"ec-para-normal\">{{ 'front.contact.inquiry_notice'|trans|nl2br }}</p>
  376.                     <div class=\"ec-borderedDefs\">
  377.                         <dl>
  378.                             <dt>
  379.                                 {{ form_label(form.name, 'common.name', { 'label_attr': { 'class': 'ec-label' }}) }}
  380.                             </dt>
  381.                             <dd>
  382.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  383.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': 'common.last_name' }}) }}
  384.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': 'common.first_name' }}) }}
  385.                                     {{ form_errors(form.name.name01) }}
  386.                                     {{ form_errors(form.name.name02) }}
  387.                                 </div>
  388.                             </dd>
  389.                         </dl>
  390.                         <dl style=\"display: none;\">
  391.                             {{ form_widget(form.kana.kana01) }}
  392.                             {{ form_widget(form.kana.kana02) }}
  393.                         </dl>
  394.                         <dl>
  395.                             <dt>
  396.                                 {{ form_label(form.phone_number, 'common.phone_number', { 'label_attr': { 'class': 'ec-label' }}) }}
  397.                             </dt>
  398.                             <dd>
  399.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  400.                                     {{ form_widget(form.phone_number) }}
  401.                                     {{ form_errors(form.phone_number) }}
  402.                                 </div>
  403.                             </dd>
  404.                         </dl>
  405.                         <dl>
  406.                             <dt>
  407.                                 {{ form_label(form.email, 'common.mail_address', { 'label_attr': { 'class': 'ec-label' }}) }}
  408.                             </dt>
  409.                             <dd>
  410.                                 <div class=\"ec-input{{ has_errors(form.email.first) ? ' error' }}\">
  411.                                     {{ form_widget(form.email.first, { 'attr': { 'placeholder': 'common.mail_address_sample' }}) }}
  412.                                     {{ form_errors(form.email.first) }}
  413.                                 </div>
  414.                                 <div class=\"ec-input{{ has_errors(form.email.second) ? ' error' }}\">
  415.                                     {{ form_widget(form.email.second, { 'attr': { 'placeholder': 'common.repeated_confirm' }}) }}
  416.                                     {{ form_errors(form.email.second) }}
  417.                                 </div>
  418.                             </dd>
  419.                         </dl>
  420.                         <dl>
  421.                             <dt>
  422.                                 {{ form_label(form.contents, 'front.contact.inquiry_contents', { 'label_attr': { 'class': 'ec-label' }}) }}
  423.                             </dt>
  424.                             <dd>
  425.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  426.                                     {{ form_widget(form.contents) }}
  427.                                     {{ form_errors(form.contents) }}
  428.                                 </div>
  429.                                 <p>{{ 'front.contact.order_notice'|trans }}</p>
  430.                             </dd>
  431.                         </dl>
  432.                         {# エンティティ拡張の自動出力 #}
  433.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  434.                             {% if f.vars.eccube_form_options.form_theme %}
  435.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  436.                                 {{ form_row(f) }}
  437.                             {% else %}
  438.                                 <dl>
  439.                                     <dt>
  440.                                         {% set label_class =  f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
  441.                                         {{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
  442.                                     </dt>
  443.                                     <dd>
  444.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  445.                                             {{ form_widget(f) }}
  446.                                             {{ form_errors(f) }}
  447.                                         </div>
  448.                                     </dd>
  449.                                 </dl>
  450.                             {% endif %}
  451.                         {% endfor %}
  452.                     </div>
  453.                     <div class=\"ec-RegisterRole__actions\">
  454.                         <div class=\"ec-off4Grid\">
  455.                             <div class=\"ec-off4Grid__cell\">
  456.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ 'common.go_to_confirm'|trans }}
  457.                                 </button>
  458.                             </div>
  459.                         </div>
  460.                     </div>
  461.                 </form>
  462.                 <p>{{ 'front.contact.form_message1'|trans }}<br>
  463.                     {{ 'front.contact.form_message2'|trans }}<a href=\"https://kofun.co.jp/contact\">コチラ</a>
  464.                     {{ 'front.contact.form_message3'|trans }}
  465.                 </p>
  466.             </div>
  467.         </div>
  468.     </div>
  469. {% endblock %}""Contact/index.twig""/var/www/html/app/template/default/Contact/index.twig");
  470.     }
  471.     
  472.     public function checkSecurity()
  473.     {
  474.         static $tags = array("form_theme" => 13"for" => 102"if" => 103"set" => 109);
  475.         static $filters = array("escape" => 38"trans" => 38"nl2br" => 44"filter" => 102);
  476.         static $functions = array("url" => 42"form_widget" => 43"form_label" => 48"has_errors" => 51"form_errors" => 54"form_row" => 105);
  477.         try {
  478.             $this->sandbox->checkSecurity(
  479.                 ['form_theme''for''if''set'],
  480.                 ['escape''trans''nl2br''filter'],
  481.                 ['url''form_widget''form_label''has_errors''form_errors''form_row'],
  482.                 $this->source
  483.             );
  484.         } catch (SecurityError $e) {
  485.             $e->setSourceContext($this->source);
  486.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  487.                 $e->setTemplateLine($tags[$e->getTagName()]);
  488.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  489.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  490.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  491.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  492.             }
  493.             throw $e;
  494.         }
  495.     }
  496. }