var/cache/dev/twig/88/8836725aa6d980bc0b1578b2011ecd9f.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_baaace11b9e5fa5942e463754ece0caa 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 1
  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 3
  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.'3$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  43.         // line 1
  44.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"1);
  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 5
  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 6
  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 9
  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 10
  76.         echo "
  77.     <div class=\"ec-contactRole\">
  78.         <div class=\"ec-pageHeader\">
  79.             <h2 class=\"title\">お問い合わせ(入力ページ)</h2>
  80.         </div>
  81.         <div class=\"ec-contactRole__header\">
  82.             <p class=\"ec-para-normal\">";
  83.         // line 16
  84.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるまでにお時間をいただく場合がございます。また、当社休業日の場合は翌営業日以降の対応となります。"), "html"nulltrue));
  85.         echo "</p>
  86.             <p>下記の項目にご入力ください。「<span class=\"needred\">必須</span>」印は入力必須項目です。<br />入力後、一番下の「確認ページへ」をクリックしてください。</p>
  87.         </div>
  88.         <form method=\"post\" action=\"";
  89.         // line 20
  90.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  91.         echo "\" class=\"h-adr\" novalidate>
  92.             <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  93.             ";
  94.         // line 22
  95.         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.'22$this->source); })()), "_token", [], "any"falsefalsetrue22), 22$this->source), 'widget');
  96.         echo "
  97.             <div class=\"table-layout\">
  98.                 <div class=\"tr\">
  99.                     <div class=\"th w3\">
  100.                         ";
  101.         // line 26
  102.         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.'26$this->source); })()), "name", [], "any"falsefalsetrue26), 26$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  103.         echo "
  104.                     </div>
  105.                     <div class=\"td w9\">
  106.                         <div class=\"ec-halfInput";
  107.         // line 29
  108.         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.'29$this->source); })()), "name", [], "any"falsefalsetrue29), "name01", [], "any"falsefalsetrue29), 29$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.'29$this->source); })()), "name", [], "any"falsefalsetrue29), "name02", [], "any"falsefalsetrue29), 29$this->source))) ? (" error") : (""));
  109.         echo "\">
  110.                             ";
  111.         // line 30
  112.         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.'30$this->source); })()), "name", [], "any"falsefalsetrue30), "name01", [], "any"falsefalsetrue30), 30$this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
  113.         echo "
  114.                             ";
  115.         // line 31
  116.         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.'31$this->source); })()), "name", [], "any"falsefalsetrue31), "name02", [], "any"falsefalsetrue31), 31$this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
  117.         echo "
  118.                             ";
  119.         // line 32
  120.         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.'32$this->source); })()), "name", [], "any"falsefalsetrue32), "name01", [], "any"falsefalsetrue32), 32$this->source), 'errors');
  121.         echo "
  122.                             ";
  123.         // line 33
  124.         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.'33$this->source); })()), "name", [], "any"falsefalsetrue33), "name02", [], "any"falsefalsetrue33), 33$this->source), 'errors');
  125.         echo "
  126.                         </div>
  127.                     </div>
  128.                 </div>
  129.                 <div class=\"tr\">
  130.                     <div class=\"th w3\">
  131.                         ";
  132.         // line 39
  133.         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.'39$this->source); })()), "kana", [], "any"falsefalsetrue39), 39$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(フリガナ)"]);
  134.         echo "
  135.                     </div>
  136.                     <div class=\"td w9\">
  137.                         <div class=\"ec-halfInput";
  138.         // line 42
  139.         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.'42$this->source); })()), "kana", [], "any"falsefalsetrue42), "kana01", [], "any"falsefalsetrue42), 42$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.'42$this->source); })()), "kana", [], "any"falsefalsetrue42), "kana02", [], "any"falsefalsetrue42), 42$this->source))) ? (" error") : (""));
  140.         echo "\">
  141.                             ";
  142.         // line 43
  143.         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.'43$this->source); })()), "kana", [], "any"falsefalsetrue43), "kana01", [], "any"falsefalsetrue43), 43$this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  144.         echo "
  145.                             ";
  146.         // line 44
  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.'44$this->source); })()), "kana", [], "any"falsefalsetrue44), "kana02", [], "any"falsefalsetrue44), 44$this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  148.         echo "
  149.                             ";
  150.         // line 45
  151.         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.'45$this->source); })()), "kana", [], "any"falsefalsetrue45), "kana01", [], "any"falsefalsetrue45), 45$this->source), 'errors');
  152.         echo "
  153.                             ";
  154.         // line 46
  155.         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.'46$this->source); })()), "kana", [], "any"falsefalsetrue46), "kana02", [], "any"falsefalsetrue46), 46$this->source), 'errors');
  156.         echo "
  157.                         </div>
  158.                     </div>
  159.                 </div>
  160.                 <div class=\"tr\">
  161.                     <div class=\"th w3\">
  162.                         ";
  163.         // line 52
  164.         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.'52$this->source); })()), "address", [], "any"falsefalsetrue52), 52$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  165.         echo "
  166.                     </div>
  167.                     <div class=\"td w9\">
  168.                         <div class=\"ec-zipInput";
  169.         // line 55
  170.         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.'55$this->source); })()), "postal_code", [], "any"falsefalsetrue55), 55$this->source))) ? (" error") : (""));
  171.         echo "\">
  172.                             <span>";
  173.         // line 56
  174.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  175.         echo "</span>
  176.                             ";
  177.         // line 57
  178.         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.'57$this->source); })()), "postal_code", [], "any"falsefalsetrue57), 57$this->source), 'widget', ["attr" => ["placeholder" => "6048454"]]);
  179.         echo "
  180.                             <div class=\"ec-zipInputHelp\">
  181.                                 <div class=\"ec-zipInputHelp__icon\">
  182.                                     <div class=\"ec-icon\"><img
  183.                                             src=\"";
  184.         // line 61
  185.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  186.         echo "\" alt=\"\">
  187.                                     </div>
  188.                                 </div>
  189.                                 <a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  190.         // line 64
  191.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  192.         echo "</span></a>
  193.                             </div>
  194.                             ";
  195.         // line 66
  196.         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.'66$this->source); })()), "postal_code", [], "any"falsefalsetrue66), 66$this->source), 'errors');
  197.         echo "
  198.                         </div>
  199.                         <div class=\"ec-select";
  200.         // line 68
  201.         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.'68$this->source); })()), "address", [], "any"falsefalsetrue68), "pref", [], "any"falsefalsetrue68), 68$this->source))) ? (" error") : (""));
  202.         echo "\">
  203.                             ";
  204.         // line 69
  205.         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.'69$this->source); })()), "address", [], "any"falsefalsetrue69), "pref", [], "any"falsefalsetrue69), 69$this->source), 'widget');
  206.         echo "
  207.                             ";
  208.         // line 70
  209.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'70$this->source); })()), "address", [], "any"falsefalsetrue70), "pref", [], "any"falsefalsetrue70), 70$this->source), 'errors');
  210.         echo "
  211.                         </div>
  212.                         <div class=\"ec-input";
  213.         // line 72
  214.         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.'72$this->source); })()), "address", [], "any"falsefalsetrue72), "addr01", [], "any"falsefalsetrue72), 72$this->source))) ? (" error") : (""));
  215.         echo "\">
  216.                             ";
  217.         // line 73
  218.         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); })()), "address", [], "any"falsefalsetrue73), "addr01", [], "any"falsefalsetrue73), 73$this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:京都市中京区西ノ京小堀池町)"]]);
  219.         echo "
  220.                             ";
  221.         // line 74
  222.         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.'74$this->source); })()), "address", [], "any"falsefalsetrue74), "addr01", [], "any"falsefalsetrue74), 74$this->source), 'errors');
  223.         echo "
  224.                         </div>
  225.                         <div class=\"ec-input";
  226.         // line 76
  227.         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.'76$this->source); })()), "address", [], "any"falsefalsetrue76), "addr02", [], "any"falsefalsetrue76), 76$this->source))) ? (" error") : (""));
  228.         echo "\">
  229.                             ";
  230.         // line 77
  231.         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), "addr02", [], "any"falsefalsetrue77), 77$this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:8-2)"]]);
  232.         echo "
  233.                             ";
  234.         // line 78
  235.         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.'78$this->source); })()), "address", [], "any"falsefalsetrue78), "addr02", [], "any"falsefalsetrue78), 78$this->source), 'errors');
  236.         echo "
  237.                         </div>
  238.                         <div class=\"attention-area\">
  239.                             <p class=\"attention\">マンション名は必ずご入力ください。</p>
  240.                         </div>
  241.                     </div>
  242.                 </div>
  243.                 <div class=\"tr\">
  244.                     <div class=\"th w3\">
  245.                         ";
  246.         // line 87
  247.         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.'87$this->source); })()), "phone_number", [], "any"falsefalsetrue87), 87$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
  248.         echo "
  249.                     </div>
  250.                     <div class=\"td w9\">
  251.                         <div class=\"ec-telInput";
  252.         // line 90
  253.         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.'90$this->source); })()), "phone_number", [], "any"falsefalsetrue90), 90$this->source))) ? (" error") : (""));
  254.         echo "\">
  255.                             ";
  256.         // line 91
  257.         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), 'widget');
  258.         echo "
  259.                             ";
  260.         // line 92
  261.         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.'92$this->source); })()), "phone_number", [], "any"falsefalsetrue92), 92$this->source), 'errors');
  262.         echo "
  263.                         </div>
  264.                     </div>
  265.                 </div>
  266.                 <div class=\"tr\">
  267.                     <div class=\"th w3\">
  268.                         ";
  269.         // line 98
  270.         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), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  271.         echo "
  272.                     </div>
  273.                     <div class=\"td w9\">
  274.                         <div class=\"ec-input";
  275.         // line 101
  276.         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.'101$this->source); })()), "email", [], "any"falsefalsetrue101), 101$this->source))) ? (" error") : (""));
  277.         echo "\">
  278.                             ";
  279.         // line 102
  280.         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), 'widget');
  281.         echo "
  282.                             ";
  283.         // line 103
  284.         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.'103$this->source); })()), "email", [], "any"falsefalsetrue103), 103$this->source), 'errors');
  285.         echo "
  286.                         </div>
  287.                         <strong>【ドメイン指定受信について】</strong><br />
  288.  キャリアメールのドメイン指定受信をご利用されている方は、<br />下記ドメインメールが受信できるよう設定してください。<br />
  289. 【ドメイン名】<br />
  290.  higashiyama.co.jp
  291.                     </div>
  292.                 </div>
  293.                 <div class=\"tr\">
  294.                     <div class=\"th w3\">
  295.                         ";
  296.         // line 113
  297.         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" => "お問い合わせ内容"]);
  298.         echo "
  299.                     </div>
  300.                     <div class=\"td w9\">
  301.                         <div class=\"ec-input";
  302.         // line 116
  303.         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") : (""));
  304.         echo "\">
  305.                             ";
  306.         // line 117
  307.         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');
  308.         echo "
  309.                             ";
  310.         // line 118
  311.         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');
  312.         echo "
  313.                         </div>
  314.                     </div>
  315.                 </div>
  316.                 ";
  317.         // line 123
  318.         echo "                ";
  319.         $context['_parent'] = $context;
  320.         $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.'123$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"falsefalsetrue123), "eccube_form_options", [], "any"falsefalsetrue123), "auto_render", [], "any"falsefalsetrue123); }));
  321.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  322.             // line 124
  323.             echo "                    ";
  324.             if (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), "form_theme", [], "any"falsefalsetrue124)) {
  325.                 // line 125
  326.                 echo "                        ";
  327.                 $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"falsefalsetrue125), "eccube_form_options", [], "any"falsefalsetrue125), "form_theme", [], "any"falsefalsetrue125)], true);
  328.                 // line 126
  329.                 echo "                        ";
  330.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 126$this->source), 'row');
  331.                 echo "
  332.                     ";
  333.             } else {
  334.                 // line 128
  335.                 echo "                        <div class=\"th\">
  336.                             <div class=\"th w3\">
  337.                                 ";
  338.                 // line 130
  339.                 $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"falsetruetrue130), "label_attr", [], "any"falsetruetrue130), "class", [], "any"truetruetrue130)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue130), "label_attr", [], "any"falsefalsetrue130), "class", [], "any"falsefalsetrue130)) : (""));
  340.                 // line 131
  341.                 echo "                                ";
  342.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 131$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.'131$this->source); })()), 131$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"falsefalsetrue131), "label", [], "any"falsefalsetrue131), 131$this->source)) ? [] : ["label" => $_label_]));
  343.                 echo "
  344.                             </div>
  345.                             <div class=\"td w9\">
  346.                                 <div class=\"";
  347.                 // line 134
  348.                 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);
  349.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 134$this->source))) ? (" error") : (""));
  350.                 echo "\">
  351.                                     ";
  352.                 // line 135
  353.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 135$this->source), 'widget');
  354.                 echo "
  355.                                     ";
  356.                 // line 136
  357.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 136$this->source), 'errors');
  358.                 echo "
  359.                                 </div>
  360.                             </div>
  361.                         </div>
  362.                     ";
  363.             }
  364.             // line 141
  365.             echo "                ";
  366.         }
  367.         $_parent $context['_parent'];
  368.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  369.         $context array_intersect_key($context$_parent) + $_parent;
  370.         // line 142
  371.         echo "            </div>
  372.             <div class=\"ec-RegisterRole__actions\">
  373.                 <p class=\"btn-area one-btn\">
  374.                     <button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">";
  375.         // line 145
  376.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  377.         echo "
  378.                     </button>
  379.                 </p>
  380.             </div>
  381.         </form>
  382.     </div>
  383. ";
  384.         
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386.         
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  388.     }
  389.     public function getTemplateName()
  390.     {
  391.         return "Contact/index.twig";
  392.     }
  393.     public function isTraitable()
  394.     {
  395.         return false;
  396.     }
  397.     public function getDebugInfo()
  398.     {
  399.         return array (  396 => 145,  391 => 142,  385 => 141,  377 => 136,  373 => 135,  368 => 134,  361 => 131,  359 => 130,  355 => 128,  349 => 126,  346 => 125,  343 => 124,  338 => 123,  331 => 118,  327 => 117,  323 => 116,  317 => 113,  304 => 103,  300 => 102,  296 => 101,  290 => 98,  281 => 92,  277 => 91,  273 => 90,  267 => 87,  255 => 78,  251 => 77,  247 => 76,  242 => 74,  238 => 73,  234 => 72,  229 => 70,  225 => 69,  221 => 68,  216 => 66,  211 => 64,  205 => 61,  198 => 57,  194 => 56,  190 => 55,  184 => 52,  175 => 46,  171 => 45,  167 => 44,  163 => 43,  159 => 42,  153 => 39,  144 => 33,  140 => 32,  136 => 31,  132 => 30,  128 => 29,  122 => 26,  115 => 22,  110 => 20,  103 => 16,  95 => 10,  85 => 9,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  400.     }
  401.     public function getSourceContext()
  402.     {
  403.         return new Source("{% extends 'default_frame.twig' %}
  404. {% form_theme form 'Form/form_div_layout.twig' %}
  405. {% block javascript %}
  406.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  407. {% endblock javascript %}
  408. {% block main %}
  409.     <div class=\"ec-contactRole\">
  410.         <div class=\"ec-pageHeader\">
  411.             <h2 class=\"title\">お問い合わせ(入力ページ)</h2>
  412.         </div>
  413.         <div class=\"ec-contactRole__header\">
  414.             <p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるまでにお時間をいただく場合がございます。また、当社休業日の場合は翌営業日以降の対応となります。'|trans|nl2br }}</p>
  415.             <p>下記の項目にご入力ください。「<span class=\"needred\">必須</span>」印は入力必須項目です。<br />入力後、一番下の「確認ページへ」をクリックしてください。</p>
  416.         </div>
  417.         <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  418.             <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  419.             {{ form_widget(form._token) }}
  420.             <div class=\"table-layout\">
  421.                 <div class=\"tr\">
  422.                     <div class=\"th w3\">
  423.                         {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  424.                     </div>
  425.                     <div class=\"td w9\">
  426.                         <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  427.                             {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  428.                             {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  429.                             {{ form_errors(form.name.name01) }}
  430.                             {{ form_errors(form.name.name02) }}
  431.                         </div>
  432.                     </div>
  433.                 </div>
  434.                 <div class=\"tr\">
  435.                     <div class=\"th w3\">
  436.                         {{ form_label(form.kana, 'お名前(フリガナ)', {'label_attr': {'class': 'ec-label'}}) }}
  437.                     </div>
  438.                     <div class=\"td w9\">
  439.                         <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  440.                             {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  441.                             {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  442.                             {{ form_errors(form.kana.kana01) }}
  443.                             {{ form_errors(form.kana.kana02) }}
  444.                         </div>
  445.                     </div>
  446.                 </div>
  447.                 <div class=\"tr\">
  448.                     <div class=\"th w3\">
  449.                         {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  450.                     </div>
  451.                     <div class=\"td w9\">
  452.                         <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  453.                             <span>{{ '〒'|trans }}</span>
  454.                             {{ form_widget(form.postal_code, { 'attr': { 'placeholder': '6048454' }}) }}
  455.                             <div class=\"ec-zipInputHelp\">
  456.                                 <div class=\"ec-zipInputHelp__icon\">
  457.                                     <div class=\"ec-icon\"><img
  458.                                             src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  459.                                     </div>
  460.                                 </div>
  461.                                 <a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  462.                             </div>
  463.                             {{ form_errors(form.postal_code) }}
  464.                         </div>
  465.                         <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  466.                             {{ form_widget(form.address.pref) }}
  467.                             {{ form_errors(form.address.pref) }}
  468.                         </div>
  469.                         <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  470.                             {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:京都市中京区西ノ京小堀池町)' }}) }}
  471.                             {{ form_errors(form.address.addr01) }}
  472.                         </div>
  473.                         <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  474.                             {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:8-2)' }}) }}
  475.                             {{ form_errors(form.address.addr02) }}
  476.                         </div>
  477.                         <div class=\"attention-area\">
  478.                             <p class=\"attention\">マンション名は必ずご入力ください。</p>
  479.                         </div>
  480.                     </div>
  481.                 </div>
  482.                 <div class=\"tr\">
  483.                     <div class=\"th w3\">
  484.                         {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  485.                     </div>
  486.                     <div class=\"td w9\">
  487.                         <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  488.                             {{ form_widget(form.phone_number) }}
  489.                             {{ form_errors(form.phone_number) }}
  490.                         </div>
  491.                     </div>
  492.                 </div>
  493.                 <div class=\"tr\">
  494.                     <div class=\"th w3\">
  495.                         {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  496.                     </div>
  497.                     <div class=\"td w9\">
  498.                         <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  499.                             {{ form_widget(form.email) }}
  500.                             {{ form_errors(form.email) }}
  501.                         </div>
  502.                         <strong>【ドメイン指定受信について】</strong><br />
  503.  キャリアメールのドメイン指定受信をご利用されている方は、<br />下記ドメインメールが受信できるよう設定してください。<br />
  504. 【ドメイン名】<br />
  505.  higashiyama.co.jp
  506.                     </div>
  507.                 </div>
  508.                 <div class=\"tr\">
  509.                     <div class=\"th w3\">
  510.                         {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  511.                     </div>
  512.                     <div class=\"td w9\">
  513.                         <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  514.                             {{ form_widget(form.contents) }}
  515.                             {{ form_errors(form.contents) }}
  516.                         </div>
  517.                     </div>
  518.                 </div>
  519.                 {# エンティティ拡張の自動出力 #}
  520.                 {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  521.                     {% if f.vars.eccube_form_options.form_theme %}
  522.                         {% form_theme f f.vars.eccube_form_options.form_theme %}
  523.                         {{ form_row(f) }}
  524.                     {% else %}
  525.                         <div class=\"th\">
  526.                             <div class=\"th w3\">
  527.                                 {% set label_class =  f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
  528.                                 {{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
  529.                             </div>
  530.                             <div class=\"td w9\">
  531.                                 <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  532.                                     {{ form_widget(f) }}
  533.                                     {{ form_errors(f) }}
  534.                                 </div>
  535.                             </div>
  536.                         </div>
  537.                     {% endif %}
  538.                 {% endfor %}
  539.             </div>
  540.             <div class=\"ec-RegisterRole__actions\">
  541.                 <p class=\"btn-area one-btn\">
  542.                     <button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  543.                     </button>
  544.                 </p>
  545.             </div>
  546.         </form>
  547.     </div>
  548. {% endblock %}""Contact/index.twig""/home/higashiyamashobo/www/higashiyamashobo.jpn.org/ec-cube/app/template/default/Contact/index.twig");
  549.     }
  550.     
  551.     public function checkSecurity()
  552.     {
  553.         static $tags = array("form_theme" => 3"for" => 123"if" => 124"set" => 130);
  554.         static $filters = array("nl2br" => 16"escape" => 16"trans" => 16"filter" => 123);
  555.         static $functions = array("url" => 20"form_widget" => 22"form_label" => 26"has_errors" => 29"form_errors" => 32"asset" => 61"form_row" => 126);
  556.         try {
  557.             $this->sandbox->checkSecurity(
  558.                 ['form_theme''for''if''set'],
  559.                 ['nl2br''escape''trans''filter'],
  560.                 ['url''form_widget''form_label''has_errors''form_errors''asset''form_row']
  561.             );
  562.         } catch (SecurityError $e) {
  563.             $e->setSourceContext($this->source);
  564.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  565.                 $e->setTemplateLine($tags[$e->getTagName()]);
  566.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  567.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  568.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  569.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  570.             }
  571.             throw $e;
  572.         }
  573.     }
  574. }