var/cache/dev/twig/84/843c118833a70d859b588ce3fd34df86d3bdb1af3dd08aa59a6bf3a0d9089e57.php line 16

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Contact/index.twig */
  14. class __TwigTemplate_ac34bfe9b76c5721baff99392f6c1f6e6add6970d7a56f541192330b94a4ee0f 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 15
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 19
  68.     public function block_main($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  75.         // line 20
  76.         echo "
  77.     <div class=\"ec-contactRole\">
  78.         <div class=\"ec-pageHeader\">
  79.             <h1>";
  80.         // line 23
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.title"), "html"nulltrue);
  82.         echo "</h1>
  83.         </div>
  84.         <div class=\"ec-off1Grid\">
  85.             <div class=\"ec-off1Grid__cell\">
  86.                 <form method=\"post\" action=\"";
  87.         // line 27
  88.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  89.         echo "\" class=\"h-adr\" novalidate>
  90.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  91.                     ";
  92.         // line 29
  93.         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.'29$this->source); })()), "_token", [], "any"falsefalsetrue29), 29$this->source), 'widget');
  94.         echo "
  95.                     <p class=\"ec-para-normal\">";
  96.         // line 30
  97.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.inquiry_notice"), "html"nulltrue));
  98.         echo "</p>
  99.                     <div class=\"ec-borderedDefs\">
  100.                         <dl>
  101.                             <dt>
  102.                                 ";
  103.         // line 34
  104.         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.'34$this->source); })()), "name", [], "any"falsefalsetrue34), 34$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.name"]);
  105.         echo "
  106.                             </dt>
  107.                             <dd>
  108.                                 <div class=\"ec-halfInput";
  109.         // line 37
  110.         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.'37$this->source); })()), "name", [], "any"falsefalsetrue37), "name01", [], "any"falsefalsetrue37), 37$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.'37$this->source); })()), "name", [], "any"falsefalsetrue37), "name02", [], "any"falsefalsetrue37), 37$this->source))) ? (" error") : (""));
  111.         echo "\">
  112.                                     ";
  113.         // line 38
  114.         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.'38$this->source); })()), "name", [], "any"falsefalsetrue38), "name01", [], "any"falsefalsetrue38), 38$this->source), 'widget', ["attr" => ["placeholder" => "common.last_name"]]);
  115.         echo "
  116.                                     ";
  117.         // line 39
  118.         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.'39$this->source); })()), "name", [], "any"falsefalsetrue39), "name02", [], "any"falsefalsetrue39), 39$this->source), 'widget', ["attr" => ["placeholder" => "common.first_name"]]);
  119.         echo "
  120.                                     ";
  121.         // line 40
  122.         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.'40$this->source); })()), "name", [], "any"falsefalsetrue40), "name01", [], "any"falsefalsetrue40), 40$this->source), 'errors');
  123.         echo "
  124.                                     ";
  125.         // line 41
  126.         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.'41$this->source); })()), "name", [], "any"falsefalsetrue41), "name02", [], "any"falsefalsetrue41), 41$this->source), 'errors');
  127.         echo "
  128.                                 </div>
  129.                             </dd>
  130.                         </dl>
  131.                         <dl>
  132.                             <dt>
  133.                                 ";
  134.         // line 47
  135.         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.'47$this->source); })()), "kana", [], "any"falsefalsetrue47), 47$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.kana"]);
  136.         echo "
  137.                             </dt>
  138.                             <dd>
  139.                                 <div class=\"ec-halfInput";
  140.         // line 50
  141.         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.'50$this->source); })()), "kana", [], "any"falsefalsetrue50), "kana01", [], "any"falsefalsetrue50), 50$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.'50$this->source); })()), "kana", [], "any"falsefalsetrue50), "kana02", [], "any"falsefalsetrue50), 50$this->source))) ? (" error") : (""));
  142.         echo "\">
  143.                                     ";
  144.         // line 51
  145.         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); })()), "kana", [], "any"falsefalsetrue51), "kana01", [], "any"falsefalsetrue51), 51$this->source), 'widget', ["attr" => ["placeholder" => "common.last_name_kana"]]);
  146.         echo "
  147.                                     ";
  148.         // line 52
  149.         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); })()), "kana", [], "any"falsefalsetrue52), "kana02", [], "any"falsefalsetrue52), 52$this->source), 'widget', ["attr" => ["placeholder" => "common.first_name_kana"]]);
  150.         echo "
  151.                                     ";
  152.         // line 53
  153.         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); })()), "kana", [], "any"falsefalsetrue53), "kana01", [], "any"falsefalsetrue53), 53$this->source), 'errors');
  154.         echo "
  155.                                     ";
  156.         // line 54
  157.         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); })()), "kana", [], "any"falsefalsetrue54), "kana02", [], "any"falsefalsetrue54), 54$this->source), 'errors');
  158.         echo "
  159.                                 </div>
  160.                             </dd>
  161.                         </dl>
  162.                         <dl>
  163.                             <dt>
  164.                                 ";
  165.         // line 60
  166.         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.'60$this->source); })()), "address", [], "any"falsefalsetrue60), 60$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.address"]);
  167.         echo "
  168.                             </dt>
  169.                             <dd>
  170.                                 <div class=\"ec-zipInput";
  171.         // line 63
  172.         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.'63$this->source); })()), "postal_code", [], "any"falsefalsetrue63), 63$this->source))) ? (" error") : (""));
  173.         echo "\">
  174.                                     <span>";
  175.         // line 64
  176.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.postal_symbol"), "html"nulltrue);
  177.         echo "</span>
  178.                                     ";
  179.         // line 65
  180.         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); })()), "postal_code", [], "any"falsefalsetrue65), 65$this->source), 'widget');
  181.         echo "
  182.                                     <div class=\"ec-zipInputHelp\">
  183.                                         <div class=\"ec-zipInputHelp__icon\">
  184.                                             <div class=\"ec-icon\"><img
  185.                                                     src=\"";
  186.         // line 69
  187.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  188.         echo "\" alt=\"\">
  189.                                             </div>
  190.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  191.         // line 71
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.search_postal_code"), "html"nulltrue);
  193.         echo "</span></a>
  194.                                     </div>
  195.                                     ";
  196.         // line 73
  197.         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.'73$this->source); })()), "postal_code", [], "any"falsefalsetrue73), 73$this->source), 'errors');
  198.         echo "
  199.                                 </div>
  200.                                 <div class=\"ec-select";
  201.         // line 75
  202.         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.'75$this->source); })()), "address", [], "any"falsefalsetrue75), "pref", [], "any"falsefalsetrue75), 75$this->source))) ? (" error") : (""));
  203.         echo "\">
  204.                                     ";
  205.         // line 76
  206.         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.'76$this->source); })()), "address", [], "any"falsefalsetrue76), "pref", [], "any"falsefalsetrue76), 76$this->source), 'widget');
  207.         echo "
  208.                                     ";
  209.         // line 77
  210.         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.'77$this->source); })()), "address", [], "any"falsefalsetrue77), "pref", [], "any"falsefalsetrue77), 77$this->source), 'errors');
  211.         echo "
  212.                                 </div>
  213.                                 <div class=\"ec-input";
  214.         // line 79
  215.         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); })()), "address", [], "any"falsefalsetrue79), "addr01", [], "any"falsefalsetrue79), 79$this->source))) ? (" error") : (""));
  216.         echo "\">
  217.                                     ";
  218.         // line 80
  219.         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); })()), "address", [], "any"falsefalsetrue80), "addr01", [], "any"falsefalsetrue80), 80$this->source), 'widget', ["attr" => ["placeholder" => "common.address_sample_01"]]);
  220.         echo "
  221.                                     ";
  222.         // line 81
  223.         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); })()), "address", [], "any"falsefalsetrue81), "addr01", [], "any"falsefalsetrue81), 81$this->source), 'errors');
  224.         echo "
  225.                                 </div>
  226.                                 <div class=\"ec-input";
  227.         // line 83
  228.         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); })()), "address", [], "any"falsefalsetrue83), "addr02", [], "any"falsefalsetrue83), 83$this->source))) ? (" error") : (""));
  229.         echo "\">
  230.                                     ";
  231.         // line 84
  232.         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); })()), "address", [], "any"falsefalsetrue84), "addr02", [], "any"falsefalsetrue84), 84$this->source), 'widget', ["attr" => ["placeholder" => "common.address_sample_02"]]);
  233.         echo "
  234.                                     ";
  235.         // line 85
  236.         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); })()), "address", [], "any"falsefalsetrue85), "addr02", [], "any"falsefalsetrue85), 85$this->source), 'errors');
  237.         echo "
  238.                                 </div>
  239.                             </dd>
  240.                         </dl>
  241.                         <dl>
  242.                             <dt>
  243.                                 ";
  244.         // line 91
  245.         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); })()), "phone_number", [], "any"falsefalsetrue91), 91$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.phone_number"]);
  246.         echo "
  247.                             </dt>
  248.                             <dd>
  249.                                 <div class=\"ec-telInput";
  250.         // line 94
  251.         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); })()), "phone_number", [], "any"falsefalsetrue94), 94$this->source))) ? (" error") : (""));
  252.         echo "\">
  253.                                     ";
  254.         // line 95
  255.         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); })()), "phone_number", [], "any"falsefalsetrue95), 95$this->source), 'widget');
  256.         echo "
  257.                                     ";
  258.         // line 96
  259.         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); })()), "phone_number", [], "any"falsefalsetrue96), 96$this->source), 'errors');
  260.         echo "
  261.                                 </div>
  262.                             </dd>
  263.                         </dl>
  264.                         <dl>
  265.                             <dt>
  266.                                 ";
  267.         // line 102
  268.         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.'102$this->source); })()), "email", [], "any"falsefalsetrue102), 102$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.mail_address"]);
  269.         echo "
  270.                             </dt>
  271.                             <dd>
  272.                                 <div class=\"ec-input";
  273.         // line 105
  274.         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); })()), "email", [], "any"falsefalsetrue105), 105$this->source))) ? (" error") : (""));
  275.         echo "\">
  276.                                     ";
  277.         // line 106
  278.         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.'106$this->source); })()), "email", [], "any"falsefalsetrue106), 106$this->source), 'widget');
  279.         echo "
  280.                                     ";
  281.         // line 107
  282.         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.'107$this->source); })()), "email", [], "any"falsefalsetrue107), 107$this->source), 'errors');
  283.         echo "
  284.                                 </div>
  285.                             </dd>
  286.                         </dl>
  287.                         <dl>
  288.                             <dt>
  289.                                 ";
  290.         // line 113
  291.         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.'113$this->source); })()), "contents", [], "any"falsefalsetrue113), 113$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "front.contact.inquiry_contents"]);
  292.         echo "
  293.                             </dt>
  294.                             <dd>
  295.                                 <div class=\"ec-input";
  296.         // line 116
  297.         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.'116$this->source); })()), "contents", [], "any"falsefalsetrue116), 116$this->source))) ? (" error") : (""));
  298.         echo "\">
  299.                                     ";
  300.         // line 117
  301.         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.'117$this->source); })()), "contents", [], "any"falsefalsetrue117), 117$this->source), 'widget');
  302.         echo "
  303.                                     ";
  304.         // line 118
  305.         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.'118$this->source); })()), "contents", [], "any"falsefalsetrue118), 118$this->source), 'errors');
  306.         echo "
  307.                                 </div>
  308.                                 <p>";
  309.         // line 120
  310.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.contact.order_notice"), "html"nulltrue);
  311.         echo "</p>
  312.                             </dd>
  313.                         </dl>
  314.                         ";
  315.         // line 124
  316.         echo "                        ";
  317.         $context['_parent'] = $context;
  318.         $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.'124$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"falsefalsetrue124), "eccube_form_options", [], "any"falsefalsetrue124), "auto_render", [], "any"falsefalsetrue124); }));
  319.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  320.             // line 125
  321.             echo "                            ";
  322.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue125), "eccube_form_options", [], "any"falsefalsetrue125), "form_theme", [], "any"falsefalsetrue125)) {
  323.                 // line 126
  324.                 echo "                                ";
  325.                 $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"falsefalsetrue126), "eccube_form_options", [], "any"falsefalsetrue126), "form_theme", [], "any"falsefalsetrue126)], true);
  326.                 // line 127
  327.                 echo "                                ";
  328.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 127$this->source), 'row');
  329.                 echo "
  330.                             ";
  331.             } else {
  332.                 // line 129
  333.                 echo "                                <dl>
  334.                                     <dt>
  335.                                         ";
  336.                 // line 131
  337.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 131$this->source), 'label');
  338.                 echo "
  339.                                     </dt>
  340.                                     <dd>
  341.                                         <div class=\"";
  342.                 // line 134
  343.                 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"falsefalsetrue134), "eccube_form_options", [], "any"falsefalsetrue134), "style_class", [], "any"falsefalsetrue134), 134$this->source), "html"nulltrue);
  344.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 134$this->source))) ? (" error") : (""));
  345.                 echo "\">
  346.                                             ";
  347.                 // line 135
  348.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 135$this->source), 'widget');
  349.                 echo "
  350.                                             ";
  351.                 // line 136
  352.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 136$this->source), 'errors');
  353.                 echo "
  354.                                         </div>
  355.                                     </dd>
  356.                                 </dl>
  357.                             ";
  358.             }
  359.             // line 141
  360.             echo "                        ";
  361.         }
  362.         $_parent $context['_parent'];
  363.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  364.         $context array_intersect_key($context$_parent) + $_parent;
  365.         // line 142
  366.         echo "                    </div>
  367.                     <div class=\"ec-RegisterRole__actions\">
  368.                         <div class=\"ec-off4Grid\">
  369.                             <div class=\"ec-off4Grid__cell\">
  370.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  371.         // line 146
  372.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.go_to_confirm"), "html"nulltrue);
  373.         echo "
  374.                                 </button>
  375.                             </div>
  376.                         </div>
  377.                     </div>
  378.                 </form>
  379.             </div>
  380.         </div>
  381.     </div>
  382. ";
  383.         
  384.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  385.         
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  387.     }
  388.     public function getTemplateName()
  389.     {
  390.         return "Contact/index.twig";
  391.     }
  392.     public function isTraitable()
  393.     {
  394.         return false;
  395.     }
  396.     public function getDebugInfo()
  397.     {
  398.         return array (  391 => 146,  385 => 142,  379 => 141,  371 => 136,  367 => 135,  362 => 134,  356 => 131,  352 => 129,  346 => 127,  343 => 126,  340 => 125,  335 => 124,  329 => 120,  324 => 118,  320 => 117,  316 => 116,  310 => 113,  301 => 107,  297 => 106,  293 => 105,  287 => 102,  278 => 96,  274 => 95,  270 => 94,  264 => 91,  255 => 85,  251 => 84,  247 => 83,  242 => 81,  238 => 80,  234 => 79,  229 => 77,  225 => 76,  221 => 75,  216 => 73,  211 => 71,  206 => 69,  199 => 65,  195 => 64,  191 => 63,  185 => 60,  176 => 54,  172 => 53,  168 => 52,  164 => 51,  160 => 50,  154 => 47,  145 => 41,  141 => 40,  137 => 39,  133 => 38,  129 => 37,  123 => 34,  116 => 30,  112 => 29,  107 => 27,  100 => 23,  95 => 20,  85 => 19,  74 => 16,  64 => 15,  53 => 11,  51 => 13,  38 => 11,);
  399.     }
  400.     public function getSourceContext()
  401.     {
  402.         return new Source("{#
  403. This file is part of EC-CUBE
  404. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  405. http://www.ec-cube.co.jp/
  406. For the full copyright and license information, please view the LICENSE
  407. file that was distributed with this source code.
  408. #}
  409. {% extends 'default_frame.twig' %}
  410. {% form_theme form 'Form/form_div_layout.twig' %}
  411. {% block javascript %}
  412.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  413. {% endblock javascript %}
  414. {% block main %}
  415.     <div class=\"ec-contactRole\">
  416.         <div class=\"ec-pageHeader\">
  417.             <h1>{{ 'front.contact.title'|trans }}</h1>
  418.         </div>
  419.         <div class=\"ec-off1Grid\">
  420.             <div class=\"ec-off1Grid__cell\">
  421.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  422.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  423.                     {{ form_widget(form._token) }}
  424.                     <p class=\"ec-para-normal\">{{ 'front.contact.inquiry_notice'|trans|nl2br }}</p>
  425.                     <div class=\"ec-borderedDefs\">
  426.                         <dl>
  427.                             <dt>
  428.                                 {{ form_label(form.name, 'common.name', { 'label_attr': { 'class': 'ec-label' }}) }}
  429.                             </dt>
  430.                             <dd>
  431.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  432.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': 'common.last_name' }}) }}
  433.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': 'common.first_name' }}) }}
  434.                                     {{ form_errors(form.name.name01) }}
  435.                                     {{ form_errors(form.name.name02) }}
  436.                                 </div>
  437.                             </dd>
  438.                         </dl>
  439.                         <dl>
  440.                             <dt>
  441.                                 {{ form_label(form.kana, 'common.kana', {'label_attr': {'class': 'ec-label'}}) }}
  442.                             </dt>
  443.                             <dd>
  444.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  445.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'common.last_name_kana' }}) }}
  446.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'common.first_name_kana' }}) }}
  447.                                     {{ form_errors(form.kana.kana01) }}
  448.                                     {{ form_errors(form.kana.kana02) }}
  449.                                 </div>
  450.                             </dd>
  451.                         </dl>
  452.                         <dl>
  453.                             <dt>
  454.                                 {{ form_label(form.address, 'common.address', { 'label_attr': { 'class': 'ec-label' }}) }}
  455.                             </dt>
  456.                             <dd>
  457.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  458.                                     <span>{{ 'common.postal_symbol'|trans }}</span>
  459.                                     {{ form_widget(form.postal_code) }}
  460.                                     <div class=\"ec-zipInputHelp\">
  461.                                         <div class=\"ec-zipInputHelp__icon\">
  462.                                             <div class=\"ec-icon\"><img
  463.                                                     src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  464.                                             </div>
  465.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ 'common.search_postal_code'|trans }}</span></a>
  466.                                     </div>
  467.                                     {{ form_errors(form.postal_code) }}
  468.                                 </div>
  469.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  470.                                     {{ form_widget(form.address.pref) }}
  471.                                     {{ form_errors(form.address.pref) }}
  472.                                 </div>
  473.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  474.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': 'common.address_sample_01' }}) }}
  475.                                     {{ form_errors(form.address.addr01) }}
  476.                                 </div>
  477.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  478.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': 'common.address_sample_02' }}) }}
  479.                                     {{ form_errors(form.address.addr02) }}
  480.                                 </div>
  481.                             </dd>
  482.                         </dl>
  483.                         <dl>
  484.                             <dt>
  485.                                 {{ form_label(form.phone_number, 'common.phone_number', { 'label_attr': { 'class': 'ec-label' }}) }}
  486.                             </dt>
  487.                             <dd>
  488.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  489.                                     {{ form_widget(form.phone_number) }}
  490.                                     {{ form_errors(form.phone_number) }}
  491.                                 </div>
  492.                             </dd>
  493.                         </dl>
  494.                         <dl>
  495.                             <dt>
  496.                                 {{ form_label(form.email, 'common.mail_address', { 'label_attr': { 'class': 'ec-label' }}) }}
  497.                             </dt>
  498.                             <dd>
  499.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  500.                                     {{ form_widget(form.email) }}
  501.                                     {{ form_errors(form.email) }}
  502.                                 </div>
  503.                             </dd>
  504.                         </dl>
  505.                         <dl>
  506.                             <dt>
  507.                                 {{ form_label(form.contents, 'front.contact.inquiry_contents', { 'label_attr': { 'class': 'ec-label' }}) }}
  508.                             </dt>
  509.                             <dd>
  510.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  511.                                     {{ form_widget(form.contents) }}
  512.                                     {{ form_errors(form.contents) }}
  513.                                 </div>
  514.                                 <p>{{ 'front.contact.order_notice'|trans }}</p>
  515.                             </dd>
  516.                         </dl>
  517.                         {# エンティティ拡張の自動出力 #}
  518.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  519.                             {% if f.vars.eccube_form_options.form_theme %}
  520.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  521.                                 {{ form_row(f) }}
  522.                             {% else %}
  523.                                 <dl>
  524.                                     <dt>
  525.                                         {{ form_label(f) }}
  526.                                     </dt>
  527.                                     <dd>
  528.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  529.                                             {{ form_widget(f) }}
  530.                                             {{ form_errors(f) }}
  531.                                         </div>
  532.                                     </dd>
  533.                                 </dl>
  534.                             {% endif %}
  535.                         {% endfor %}
  536.                     </div>
  537.                     <div class=\"ec-RegisterRole__actions\">
  538.                         <div class=\"ec-off4Grid\">
  539.                             <div class=\"ec-off4Grid__cell\">
  540.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ 'common.go_to_confirm'|trans }}
  541.                                 </button>
  542.                             </div>
  543.                         </div>
  544.                     </div>
  545.                 </form>
  546.             </div>
  547.         </div>
  548.     </div>
  549. {% endblock %}
  550. ""Contact/index.twig""/home/rfzhmmpx/public_html/bhw.world/gekiyasumeishi/shop/preprod/src/Eccube/Resource/template/default/Contact/index.twig");
  551.     }
  552.     
  553.     public function checkSecurity()
  554.     {
  555.         static $tags = array("form_theme" => 13"for" => 124"if" => 125);
  556.         static $filters = array("escape" => 23"trans" => 23"nl2br" => 30"filter" => 124);
  557.         static $functions = array("url" => 27"form_widget" => 29"form_label" => 34"has_errors" => 37"form_errors" => 40"asset" => 69"form_row" => 127);
  558.         try {
  559.             $this->sandbox->checkSecurity(
  560.                 ['form_theme''for''if'],
  561.                 ['escape''trans''nl2br''filter'],
  562.                 ['url''form_widget''form_label''has_errors''form_errors''asset''form_row']
  563.             );
  564.         } catch (SecurityError $e) {
  565.             $e->setSourceContext($this->source);
  566.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  567.                 $e->setTemplateLine($tags[$e->getTagName()]);
  568.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  569.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  570.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  571.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  572.             }
  573.             throw $e;
  574.         }
  575.     }
  576. }