var/cache/dev/twig/e6/e6a9a6e011d0e5f75301b4a1a9feeb0c.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Contact/index.twig */
  14. class __TwigTemplate_a76e9c50f62745c2f908d93ad03f3102 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 11
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  41.         // line 13
  42.         $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);
  43.         // line 11
  44.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"11);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 15
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  59.         // line 16
  60.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  61. ";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.     }
  67.     // line 19
  68.     public function block_main($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  75.         // line 20
  76.         echo "    ";
  77.         $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.'20$this->source); })()), [=> "Form/form_custom_theme.twig"], true);
  78.         // line 21
  79.         echo "
  80.     <div class=\"ec-role narrow-contents\">
  81.         <div class=\"ec-pageHeader\">
  82.             <h1>";
  83.         // line 24
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  85.         echo "</h1>
  86.         </div>
  87.         <div class=\"content-inner\">
  88.             <div class=\"content-contact\">
  89.                 <form method=\"post\" action=\"";
  90.         // line 28
  91.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  92.         echo "\" class=\"h-adr\" novalidate>
  93.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  94.                     ";
  95.         // line 30
  96.         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.'30$this->source); })()), "_token", [], "any"falsefalsetrue30), 30$this->source), 'widget');
  97.         echo "
  98.                     <div class=\"form-container\">
  99.                         <dl class=\"required-field\">
  100.                             <dt>";
  101.         // line 33
  102.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("会社名または事業所名"), "html"nulltrue);
  103.         echo "</dt>
  104.                             <dd>
  105.                                 <div class=\"form-unit__input\">";
  106.         // line 35
  107.         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.'35$this->source); })()), "company_name", [], "any"falsefalsetrue35), 35$this->source), 'widget');
  108.         echo "</div>
  109.                                 <span class=\"";
  110.         // line 36
  111.         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.'36$this->source); })()), "company_name", [], "any"falsefalsetrue36), 36$this->source))) ? (" error") : (""));
  112.         echo "\">";
  113.         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.'36$this->source); })()), "company_name", [], "any"falsefalsetrue36), 36$this->source), 'errors');
  114.         echo "</span>
  115.                             </dd>
  116.                         </dl>
  117.                         <dl class=\"required-field\">
  118.                             <dt>";
  119.         // line 40
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご担当者様"), "html"nulltrue);
  121.         echo "</dt>
  122.                             <dd class=\"separate-form\">
  123.                                 <div class=\"half-field\">
  124.                                     <div class=\"form-unit__input\">
  125.                                         ";
  126.         // line 44
  127.         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.'44$this->source); })()), "name", [], "any"falsefalsetrue44), "name01", [], "any"falsefalsetrue44), 44$this->source), 'widget', ["attr" => ["placeholder" => ""]]);
  128.         echo "
  129.                                         <label for=\"";
  130.         // line 45
  131.         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->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"falsefalsetrue45), "name01", [], "any"falsefalsetrue45), "vars", [], "any"falsefalsetrue45), "id", [], "any"falsefalsetrue45), 45$this->source), "html"nulltrue);
  132.         echo "\" class=\"placeholder\">";
  133.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("姓"), "html"nulltrue);
  134.         echo "</label>
  135.                                     </div>
  136.                                     <span class=\"";
  137.         // line 47
  138.         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.'47$this->source); })()), "name", [], "any"falsefalsetrue47), "name01", [], "any"falsefalsetrue47), 47$this->source))) ? (" error") : (""));
  139.         echo "\">";
  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.'47$this->source); })()), "name", [], "any"falsefalsetrue47), "name01", [], "any"falsefalsetrue47), 47$this->source), 'errors');
  141.         echo "</span>
  142.                                 </div>
  143.                                 <div class=\"half-field\">
  144.                                     <div class=\"form-unit__input half-field\">
  145.                                         ";
  146.         // line 51
  147.         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.'51$this->source); })()), "name", [], "any"falsefalsetrue51), "name02", [], "any"falsefalsetrue51), 51$this->source), 'widget', ["attr" => ["placeholder" => ""]]);
  148.         echo "
  149.                                         <label for=\"";
  150.         // line 52
  151.         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->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), "name02", [], "any"falsefalsetrue52), "vars", [], "any"falsefalsetrue52), "id", [], "any"falsefalsetrue52), 52$this->source), "html"nulltrue);
  152.         echo "\" class=\"placeholder\">";
  153.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("名"), "html"nulltrue);
  154.         echo "</label>
  155.                                     </div>
  156.                                     <span class=\"";
  157.         // line 54
  158.         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.'54$this->source); })()), "name", [], "any"falsefalsetrue54), "name02", [], "any"falsefalsetrue54), 54$this->source))) ? (" error") : (""));
  159.         echo "\">";
  160.         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), "name02", [], "any"falsefalsetrue54), 54$this->source), 'errors');
  161.         echo "</span>
  162.                                 </div>
  163.                             </dd>
  164.                         </dl>
  165.                         <dl>
  166.                             <dt>";
  167.         // line 59
  168.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご担当者様(カナ)"), "html"nulltrue);
  169.         echo "</dt>
  170.                             <dd class=\"separate-form\">
  171.                                 <div class=\"half-field\">
  172.                                     <div class=\"form-unit__input\">
  173.                                         ";
  174.         // line 63
  175.         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.'63$this->source); })()), "kana", [], "any"falsefalsetrue63), "kana01", [], "any"falsefalsetrue63), 63$this->source), 'widget', ["attr" => ["placeholder" => ""]]);
  176.         echo "
  177.                                         <label for=\"";
  178.         // line 64
  179.         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->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.'64$this->source); })()), "kana", [], "any"falsefalsetrue64), "kana01", [], "any"falsefalsetrue64), "vars", [], "any"falsefalsetrue64), "id", [], "any"falsefalsetrue64), 64$this->source), "html"nulltrue);
  180.         echo "\" class=\"placeholder\">";
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("セイ"), "html"nulltrue);
  182.         echo "</label>
  183.                                     </div>
  184.                                     <span class=\"";
  185.         // line 66
  186.         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.'66$this->source); })()), "kana", [], "any"falsefalsetrue66), "kana01", [], "any"falsefalsetrue66), 66$this->source))) ? (" error") : (""));
  187.         echo "\">";
  188.         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.'66$this->source); })()), "kana", [], "any"falsefalsetrue66), "kana01", [], "any"falsefalsetrue66), 66$this->source), 'errors');
  189.         echo "</span>
  190.                                 </div>
  191.                                 <div class=\"half-field\">
  192.                                     <div class=\"form-unit__input\">
  193.                                         ";
  194.         // line 70
  195.         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.'70$this->source); })()), "kana", [], "any"falsefalsetrue70), "kana02", [], "any"falsefalsetrue70), 70$this->source), 'widget', ["attr" => ["placeholder" => ""]]);
  196.         echo "
  197.                                         <label for=\"";
  198.         // line 71
  199.         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->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.'71$this->source); })()), "kana", [], "any"falsefalsetrue71), "kana02", [], "any"falsefalsetrue71), "vars", [], "any"falsefalsetrue71), "id", [], "any"falsefalsetrue71), 71$this->source), "html"nulltrue);
  200.         echo "\" class=\"placeholder\">";
  201.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メイ"), "html"nulltrue);
  202.         echo "</label>
  203.                                     </div>
  204.                                     <span class=\"";
  205.         // line 73
  206.         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.'73$this->source); })()), "kana", [], "any"falsefalsetrue73), "kana02", [], "any"falsefalsetrue73), 73$this->source))) ? (" error") : (""));
  207.         echo "\">";
  208.         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.'73$this->source); })()), "kana", [], "any"falsefalsetrue73), "kana02", [], "any"falsefalsetrue73), 73$this->source), 'errors');
  209.         echo "</span>
  210.                                 </div>
  211.                             </dd>
  212.                         </dl>
  213.                         <dl>
  214.                             <dt>";
  215.         // line 78
  216.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("電話番号"), "html"nulltrue);
  217.         echo "</dt>
  218.                             <dd>
  219.                                 <div class=\"separate-form\">
  220.                                     <div class=\"half-field\">
  221.                                         <div class=\"form-unit__input\">
  222.                                             ";
  223.         // line 83
  224.         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.'83$this->source); })()), "phone_number", [], "any"falsefalsetrue83), 83$this->source), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => ""]]);
  225.         echo "
  226.                                             <label for=\"";
  227.         // line 84
  228.         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, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'84$this->source); })()), "phone_number", [], "any"falsefalsetrue84), "vars", [], "any"falsefalsetrue84), "id", [], "any"falsefalsetrue84), 84$this->source), "html"nulltrue);
  229.         echo "\" class=\"placeholder\">";
  230.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("XXXXXXXXXXX"), "html"nulltrue);
  231.         echo "</label>
  232.                                         </div>
  233.                                         <span class=\"";
  234.         // line 86
  235.         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.'86$this->source); })()), "phone_number", [], "any"falsefalsetrue86), 86$this->source))) ? (" error") : (""));
  236.         echo "\">";
  237.         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.'86$this->source); })()), "phone_number", [], "any"falsefalsetrue86), 86$this->source), 'errors');
  238.         echo "</span>
  239.                                     </div>
  240.                                 </div>
  241.                             </dd>
  242.                         </dl>
  243.                         <dl class=\"required-field\">
  244.                             <dt>";
  245.         // line 92
  246.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メールアドレス"), "html"nulltrue);
  247.         echo "</dt>
  248.                             <dd>
  249.                                 <div class=\"form-unit__input\">
  250.                                     ";
  251.         // line 95
  252.         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); })()), "email", [], "any"falsefalsetrue95), 95$this->source), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => ""]]);
  253.         echo "
  254.                                     <label for=\"";
  255.         // line 96
  256.         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, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'96$this->source); })()), "email", [], "any"falsefalsetrue96), "vars", [], "any"falsefalsetrue96), "id", [], "any"falsefalsetrue96), 96$this->source), "html"nulltrue);
  257.         echo "\" class=\"placeholder\">";
  258.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("xxxxx@example.co.jp"), "html"nulltrue);
  259.         echo "</label>
  260.                                 </div>
  261.                                 <span class=\"";
  262.         // line 98
  263.         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.'98$this->source); })()), "email", [], "any"falsefalsetrue98), 98$this->source))) ? (" error") : (""));
  264.         echo "\">";
  265.         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.'98$this->source); })()), "email", [], "any"falsefalsetrue98), 98$this->source), 'errors');
  266.         echo "</span>
  267.                             </dd>
  268.                         </dl>
  269.                         <dl class=\"required-field\">
  270.                             <dt>";
  271.         // line 102
  272.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ内容"), "html"nulltrue);
  273.         echo "</dt>
  274.                             <dd>
  275.                                 <div class=\"form-unit__contents\">";
  276.         // line 104
  277.         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.'104$this->source); })()), "contents", [], "any"falsefalsetrue104), 104$this->source), 'widget');
  278.         echo "</div>
  279.                                 <span class=\"";
  280.         // line 105
  281.         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.'105$this->source); })()), "contents", [], "any"falsefalsetrue105), 105$this->source))) ? (" error") : (""));
  282.         echo "\">";
  283.         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.'105$this->source); })()), "contents", [], "any"falsefalsetrue105), 105$this->source), 'errors');
  284.         echo "</span>
  285.                                 <span class=\"field-notes\">";
  286.         // line 106
  287.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文に関するお問い合わせの際は「ご注文番号」をご記入ください。"), "html"nulltrue);
  288.         echo "</span>
  289.                             </dd>
  290.                         </dl>
  291.                         ";
  292.         // line 110
  293.         echo "                        ";
  294.         $context['_parent'] = $context;
  295.         $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.'110$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"falsefalsetrue110), "eccube_form_options", [], "any"falsefalsetrue110), "auto_render", [], "any"falsefalsetrue110); }));
  296.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  297.             // line 111
  298.             echo "                            ";
  299.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue111), "eccube_form_options", [], "any"falsefalsetrue111), "form_theme", [], "any"falsefalsetrue111)) {
  300.                 // line 112
  301.                 echo "                                ";
  302.                 $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"falsefalsetrue112), "eccube_form_options", [], "any"falsefalsetrue112), "form_theme", [], "any"falsefalsetrue112)], true);
  303.                 // line 113
  304.                 echo "                                ";
  305.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 113$this->source), 'row');
  306.                 echo "
  307.                             ";
  308.             } else {
  309.                 // line 115
  310.                 echo "                                <dl>
  311.                                     <dt>
  312.                                         ";
  313.                 // line 117
  314.                 $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"falsetruetrue117), "label_attr", [], "any"falsetruetrue117), "class", [], "any"truetruetrue117)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue117), "label_attr", [], "any"falsefalsetrue117), "class", [], "any"falsefalsetrue117)) : (""));
  315.                 // line 118
  316.                 echo "                                        ";
  317.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 118$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.'118$this->source); })()), 118$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"falsefalsetrue118), "label", [], "any"falsefalsetrue118), 118$this->source)) ? [] : ["label" => $_label_]));
  318.                 echo "
  319.                                     </dt>
  320.                                     <dd>
  321.                                         <div class=\"";
  322.                 // line 121
  323.                 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"falsefalsetrue121), "eccube_form_options", [], "any"falsefalsetrue121), "style_class", [], "any"falsefalsetrue121), 121$this->source), "html"nulltrue);
  324.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 121$this->source))) ? (" error") : (""));
  325.                 echo "\">
  326.                                             ";
  327.                 // line 122
  328.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 122$this->source), 'widget');
  329.                 echo "
  330.                                             ";
  331.                 // line 123
  332.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 123$this->source), 'errors');
  333.                 echo "
  334.                                         </div>
  335.                                     </dd>
  336.                                 </dl>
  337.                             ";
  338.             }
  339.             // line 128
  340.             echo "                        ";
  341.         }
  342.         $_parent $context['_parent'];
  343.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  344.         $context array_intersect_key($context$_parent) + $_parent;
  345.         // line 129
  346.         echo "                    </div>
  347.                     <div class=\"form-unit__actions\">
  348.                         <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  349.         // line 131
  350.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  351.         echo "</button>
  352.                     </div>
  353.                 </form>
  354.             </div>
  355.         </div>
  356.     </div>
  357. ";
  358.         
  359.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  360.         
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  362.     }
  363.     public function getTemplateName()
  364.     {
  365.         return "Contact/index.twig";
  366.     }
  367.     public function isTraitable()
  368.     {
  369.         return false;
  370.     }
  371.     public function getDebugInfo()
  372.     {
  373.         return array (  369 => 131,  365 => 129,  359 => 128,  351 => 123,  347 => 122,  342 => 121,  335 => 118,  333 => 117,  329 => 115,  323 => 113,  320 => 112,  317 => 111,  312 => 110,  306 => 106,  300 => 105,  296 => 104,  291 => 102,  282 => 98,  275 => 96,  271 => 95,  265 => 92,  254 => 86,  247 => 84,  243 => 83,  235 => 78,  225 => 73,  218 => 71,  214 => 70,  205 => 66,  198 => 64,  194 => 63,  187 => 59,  177 => 54,  170 => 52,  166 => 51,  157 => 47,  150 => 45,  146 => 44,  139 => 40,  130 => 36,  126 => 35,  121 => 33,  115 => 30,  110 => 28,  103 => 24,  98 => 21,  95 => 20,  85 => 19,  74 => 16,  64 => 15,  53 => 11,  51 => 13,  38 => 11,);
  374.     }
  375.     public function getSourceContext()
  376.     {
  377.         return new Source("{#
  378. This file is part of EC-CUBE
  379. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  380. http://www.ec-cube.co.jp/
  381. For the full copyright and license information, please view the LICENSE
  382. file that was distributed with this source code.
  383. #}
  384. {% extends 'default_frame.twig' %}
  385. {% form_theme form 'Form/form_div_layout.twig' %}
  386. {% block javascript %}
  387.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  388. {% endblock javascript %}
  389. {% block main %}
  390.     {% form_theme form 'Form/form_custom_theme.twig' %}
  391.     <div class=\"ec-role narrow-contents\">
  392.         <div class=\"ec-pageHeader\">
  393.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  394.         </div>
  395.         <div class=\"content-inner\">
  396.             <div class=\"content-contact\">
  397.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  398.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  399.                     {{ form_widget(form._token) }}
  400.                     <div class=\"form-container\">
  401.                         <dl class=\"required-field\">
  402.                             <dt>{{ '会社名または事業所名'|trans }}</dt>
  403.                             <dd>
  404.                                 <div class=\"form-unit__input\">{{ form_widget(form.company_name) }}</div>
  405.                                 <span class=\"{{ has_errors(form.company_name) ? ' error' }}\">{{ form_errors(form.company_name) }}</span>
  406.                             </dd>
  407.                         </dl>
  408.                         <dl class=\"required-field\">
  409.                             <dt>{{ 'ご担当者様'|trans }}</dt>
  410.                             <dd class=\"separate-form\">
  411.                                 <div class=\"half-field\">
  412.                                     <div class=\"form-unit__input\">
  413.                                         {{ form_widget(form.name.name01, { 'attr': { 'placeholder': '' }}) }}
  414.                                         <label for=\"{{ form.name.name01.vars.id }}\" class=\"placeholder\">{{ '姓'|trans }}</label>
  415.                                     </div>
  416.                                     <span class=\"{{ has_errors(form.name.name01) ? ' error' }}\">{{ form_errors(form.name.name01) }}</span>
  417.                                 </div>
  418.                                 <div class=\"half-field\">
  419.                                     <div class=\"form-unit__input half-field\">
  420.                                         {{ form_widget(form.name.name02, { 'attr': { 'placeholder': '' }}) }}
  421.                                         <label for=\"{{ form.name.name02.vars.id }}\" class=\"placeholder\">{{ '名'|trans }}</label>
  422.                                     </div>
  423.                                     <span class=\"{{ has_errors(form.name.name02) ? ' error' }}\">{{ form_errors(form.name.name02) }}</span>
  424.                                 </div>
  425.                             </dd>
  426.                         </dl>
  427.                         <dl>
  428.                             <dt>{{ 'ご担当者様(カナ)'|trans }}</dt>
  429.                             <dd class=\"separate-form\">
  430.                                 <div class=\"half-field\">
  431.                                     <div class=\"form-unit__input\">
  432.                                         {{ form_widget(form.kana.kana01, { 'attr': { 'placeholder': '' }}) }}
  433.                                         <label for=\"{{ form.kana.kana01.vars.id }}\" class=\"placeholder\">{{ 'セイ'|trans }}</label>
  434.                                     </div>
  435.                                     <span class=\"{{ has_errors(form.kana.kana01) ? ' error' }}\">{{ form_errors(form.kana.kana01) }}</span>
  436.                                 </div>
  437.                                 <div class=\"half-field\">
  438.                                     <div class=\"form-unit__input\">
  439.                                         {{ form_widget(form.kana.kana02, { 'attr': { 'placeholder': '' }}) }}
  440.                                         <label for=\"{{ form.kana.kana02.vars.id }}\" class=\"placeholder\">{{ 'メイ'|trans }}</label>
  441.                                     </div>
  442.                                     <span class=\"{{ has_errors(form.kana.kana02) ? ' error' }}\">{{ form_errors(form.kana.kana02) }}</span>
  443.                                 </div>
  444.                             </dd>
  445.                         </dl>
  446.                         <dl>
  447.                             <dt>{{ '電話番号'|trans }}</dt>
  448.                             <dd>
  449.                                 <div class=\"separate-form\">
  450.                                     <div class=\"half-field\">
  451.                                         <div class=\"form-unit__input\">
  452.                                             {{ form_widget(form.phone_number, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder': ''}}) }}
  453.                                             <label for=\"{{ form.phone_number.vars.id }}\" class=\"placeholder\">{{ 'XXXXXXXXXXX'|trans }}</label>
  454.                                         </div>
  455.                                         <span class=\"{{ has_errors(form.phone_number) ? ' error' }}\">{{ form_errors(form.phone_number) }}</span>
  456.                                     </div>
  457.                                 </div>
  458.                             </dd>
  459.                         </dl>
  460.                         <dl class=\"required-field\">
  461.                             <dt>{{ 'メールアドレス'|trans }}</dt>
  462.                             <dd>
  463.                                 <div class=\"form-unit__input\">
  464.                                     {{ form_widget(form.email, { 'attr': { 'style' : 'ime-mode: disabled;', 'placeholder': '' }}) }}
  465.                                     <label for=\"{{ form.email.vars.id }}\" class=\"placeholder\">{{ 'xxxxx@example.co.jp'|trans }}</label>
  466.                                 </div>
  467.                                 <span class=\"{{ has_errors(form.email) ? ' error' }}\">{{ form_errors(form.email) }}</span>
  468.                             </dd>
  469.                         </dl>
  470.                         <dl class=\"required-field\">
  471.                             <dt>{{ 'お問い合わせ内容'|trans }}</dt>
  472.                             <dd>
  473.                                 <div class=\"form-unit__contents\">{{ form_widget(form.contents) }}</div>
  474.                                 <span class=\"{{ has_errors(form.contents) ? ' error' }}\">{{ form_errors(form.contents) }}</span>
  475.                                 <span class=\"field-notes\">{{ 'ご注文に関するお問い合わせの際は「ご注文番号」をご記入ください。'|trans }}</span>
  476.                             </dd>
  477.                         </dl>
  478.                         {# エンティティ拡張の自動出力 #}
  479.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  480.                             {% if f.vars.eccube_form_options.form_theme %}
  481.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  482.                                 {{ form_row(f) }}
  483.                             {% else %}
  484.                                 <dl>
  485.                                     <dt>
  486.                                         {% set label_class =  f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
  487.                                         {{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
  488.                                     </dt>
  489.                                     <dd>
  490.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  491.                                             {{ form_widget(f) }}
  492.                                             {{ form_errors(f) }}
  493.                                         </div>
  494.                                     </dd>
  495.                                 </dl>
  496.                             {% endif %}
  497.                         {% endfor %}
  498.                     </div>
  499.                     <div class=\"form-unit__actions\">
  500.                         <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}</button>
  501.                     </div>
  502.                 </form>
  503.             </div>
  504.         </div>
  505.     </div>
  506. {% endblock %}
  507. ""Contact/index.twig""/home/xs362797/magamar.jp/public_html/app/template/magamar/Contact/index.twig");
  508.     }
  509.     
  510.     public function checkSecurity()
  511.     {
  512.         static $tags = array("form_theme" => 13"for" => 110"if" => 111"set" => 117);
  513.         static $filters = array("escape" => 24"trans" => 24"filter" => 110);
  514.         static $functions = array("url" => 28"form_widget" => 30"has_errors" => 36"form_errors" => 36"form_row" => 113"form_label" => 118);
  515.         try {
  516.             $this->sandbox->checkSecurity(
  517.                 ['form_theme''for''if''set'],
  518.                 ['escape''trans''filter'],
  519.                 ['url''form_widget''has_errors''form_errors''form_row''form_label']
  520.             );
  521.         } catch (SecurityError $e) {
  522.             $e->setSourceContext($this->source);
  523.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  524.                 $e->setTemplateLine($tags[$e->getTagName()]);
  525.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  526.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  527.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  528.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  529.             }
  530.             throw $e;
  531.         }
  532.     }
  533. }