var/cache/dev/twig/d0/d01d2a609f695f865f200eb887e3d614.php line 52

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_d56f4608a7dbcce3e6a7813508bdedb0 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 22
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  42.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"22);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 24
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 25
  58.         echo "<script src=\"//ajaxzip3.github.io/ajaxzip3.js\" charset=\"UTF-8\"></script>
  59. <script>
  60.     \$(function() {
  61.         \$('#zip-search').click(function() {
  62.             AjaxZip3.zip2addr('contact[zip][zip01]', 'contact[zip][zip02]', 'contact[address][pref]', 'contact[address][addr01]');
  63.         });
  64.     });
  65. </script>
  66. ";
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.     }
  72.     // line 35
  73.     public function block_stylesheet($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  80.         // line 36
  81.         echo "    <style type=\"text/css\">
  82.     .ec-zipInput, .ec-zipInputHelp, .ec-zipInputHelp .ec-zipInputHelp__icon, .ec-zipInputHelp .ec-icon{
  83.         display: inline-block;
  84.     }
  85.     .ec-zipInputHelp__icon .ec-icon img{
  86.         width: 15px;
  87.         background: #ccc;
  88.         border-radius: 100%;
  89.         margin-right: 5px;
  90.     }
  91.     #top_box__address_detail dd>div{
  92.         margin-bottom: 15px;
  93.     }
  94.     </style>
  95. ";
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.     }
  101.     // line 52
  102.     public function block_main($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  109.         // line 53
  110.         echo "
  111. <div id=\"contents\" class=\"main_only\">
  112.     <div class=\"container-fluid inner no-padding\">
  113.         <div id=\"main\">
  114. <div class=\"complete_all\">
  115.             <h1 class=\"title_bar\">お問い合わせ</h1>
  116.             <div id=\"top_wrap\" class=\"container-fluid\">
  117.                 <div id=\"top_box\" class=\"row\">
  118.                     <div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
  119.                         <p>内容によっては回答をさしあげるのにお時間をいただくこともございます。<br/>
  120.                             また、休業日は翌営業日以降の対応となりますのでご了承ください。</p>
  121.                         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
  122.         // line 67
  123.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  124.         echo "\">
  125.                             ";
  126.         // line 68
  127.         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.'68$this->source); })()), "_token", [], "any"falsefalsetrue68), 68$this->source), 'widget');
  128.         echo "
  129.                             <div id=\"top_box__body_inner\" class=\"dl_table\">
  130.                                 <dl id=\"top_box__name\">
  131.                                     <dt>";
  132.         // line 71
  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.'71$this->source); })()), "name", [], "any"falsefalsetrue71), 71$this->source), 'label');
  134.         echo "</dt>
  135.                                     <dd class=\"form-group input_name\">
  136.                                         ";
  137.         // line 73
  138.         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); })()), "name", [], "any"falsefalsetrue73), "name01", [], "any"falsefalsetrue73), 73$this->source), 'widget');
  139.         echo "
  140.                                         ";
  141.         // line 74
  142.         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); })()), "name", [], "any"falsefalsetrue74), "name02", [], "any"falsefalsetrue74), 74$this->source), 'widget');
  143.         echo "
  144.                                         ";
  145.         // line 75
  146.         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.'75$this->source); })()), "name", [], "any"falsefalsetrue75), "name01", [], "any"falsefalsetrue75), 75$this->source), 'errors');
  147.         echo "
  148.                                         ";
  149.         // line 76
  150.         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); })()), "name", [], "any"falsefalsetrue76), "name02", [], "any"falsefalsetrue76), 76$this->source), 'errors');
  151.         echo "
  152.                                     </dd>
  153.                                 </dl>
  154.                                 <dl id=\"top_box__kana\">
  155.                                     <dt>";
  156.         // line 80
  157.         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.'80$this->source); })()), "kana", [], "any"falsefalsetrue80), 80$this->source), 'label');
  158.         echo "</dt>
  159.                                     <dd class=\"form-group input_name\">
  160.                                         ";
  161.         // line 82
  162.         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.'82$this->source); })()), "kana", [], "any"falsefalsetrue82), "kana01", [], "any"falsefalsetrue82), 82$this->source), 'widget');
  163.         echo "
  164.                                         ";
  165.         // line 83
  166.         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.'83$this->source); })()), "kana", [], "any"falsefalsetrue83), "kana02", [], "any"falsefalsetrue83), 83$this->source), 'widget');
  167.         echo "
  168.                                         ";
  169.         // line 84
  170.         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); })()), "kana", [], "any"falsefalsetrue84), "kana01", [], "any"falsefalsetrue84), 84$this->source), 'errors');
  171.         echo "
  172.                                         ";
  173.         // line 85
  174.         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); })()), "kana", [], "any"falsefalsetrue85), "kana02", [], "any"falsefalsetrue85), 85$this->source), 'errors');
  175.         echo "
  176.                                     </dd>
  177.                                 </dl>
  178.                                 <dl id=\"top_box__address_detail\">
  179.                                     <dt>";
  180.         // line 89
  181.         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.'89$this->source); })()), "address", [], "any"falsefalsetrue89), 89$this->source), 'label');
  182.         echo "</dt>
  183.                                     <dd>
  184.                                         <div class=\"ec-zipInput";
  185.         // line 91
  186.         echo (($this->extensions['Customize\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.'91$this->source); })()), "postal_code", [], "any"falsefalsetrue91), 91$this->source))) ? (" error") : (""));
  187.         echo "\">
  188.                                             <span>";
  189.         // line 92
  190.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  191.         echo "</span>
  192.                                             ";
  193.         // line 93
  194.         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.'93$this->source); })()), "postal_code", [], "any"falsefalsetrue93), 93$this->source), 'widget');
  195.         echo "
  196.                                             ";
  197.         // line 94
  198.         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.'94$this->source); })()), "postal_code", [], "any"falsefalsetrue94), 94$this->source), 'errors');
  199.         echo "
  200.                                         </div>
  201.                                         <div class=\"ec-zipInputHelp\">
  202.                                             <div class=\"ec-zipInputHelp__icon\">
  203.                                                 <div class=\"ec-icon\"><img
  204.                                                             src=\"";
  205.         // line 99
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  207.         echo "\" alt=\"\">
  208.                                                 </div>
  209.                                             </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  210.         // line 101
  211.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  212.         echo "</span></a>
  213.                                         </div>
  214.                                         ";
  215.         // line 103
  216.         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); })()), "postal_code", [], "any"falsefalsetrue103), 103$this->source), 'errors');
  217.         echo "
  218.                                         <div class=\"ec-select";
  219.         // line 104
  220.         echo (($this->extensions['Customize\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.'104$this->source); })()), "address", [], "any"falsefalsetrue104), "pref", [], "any"falsefalsetrue104), 104$this->source))) ? (" error") : (""));
  221.         echo "\">
  222.                                             ";
  223.         // line 105
  224.         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.'105$this->source); })()), "address", [], "any"falsefalsetrue105), "pref", [], "any"falsefalsetrue105), 105$this->source), 'widget');
  225.         echo "
  226.                                             ";
  227.         // line 106
  228.         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.'106$this->source); })()), "address", [], "any"falsefalsetrue106), "pref", [], "any"falsefalsetrue106), 106$this->source), 'errors');
  229.         echo "
  230.                                         </div>
  231.                                         <div class=\"ec-input";
  232.         // line 108
  233.         echo (($this->extensions['Customize\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.'108$this->source); })()), "address", [], "any"falsefalsetrue108), "addr01", [], "any"falsefalsetrue108), 108$this->source))) ? (" error") : (""));
  234.         echo "\">
  235.                                             ";
  236.         // line 109
  237.         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.'109$this->source); })()), "address", [], "any"falsefalsetrue109), "addr01", [], "any"falsefalsetrue109), 109$this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
  238.         echo "
  239.                                             ";
  240.         // line 110
  241.         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.'110$this->source); })()), "address", [], "any"falsefalsetrue110), "addr01", [], "any"falsefalsetrue110), 110$this->source), 'errors');
  242.         echo "
  243.                                         </div>
  244.                                         <div class=\"ec-input";
  245.         // line 112
  246.         echo (($this->extensions['Customize\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.'112$this->source); })()), "address", [], "any"falsefalsetrue112), "addr02", [], "any"falsefalsetrue112), 112$this->source))) ? (" error") : (""));
  247.         echo "\">
  248.                                             ";
  249.         // line 113
  250.         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.'113$this->source); })()), "address", [], "any"falsefalsetrue113), "addr02", [], "any"falsefalsetrue113), 113$this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
  251.         echo "
  252.                                             ";
  253.         // line 114
  254.         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.'114$this->source); })()), "address", [], "any"falsefalsetrue114), "addr02", [], "any"falsefalsetrue114), 114$this->source), 'errors');
  255.         echo "
  256.                                         </div>
  257.                                     </dd>
  258.                                 </dl>
  259.                                 <dl id=\"top_box__tel\">
  260.                                     <dt>";
  261.         // line 119
  262.         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.'119$this->source); })()), "phone_number", [], "any"falsefalsetrue119), 119$this->source), 'label');
  263.         echo "</dt>
  264.                                     <dd>
  265.                                         <div class=\"form-inline form-group input_tel\">
  266.                                             ";
  267.         // line 122
  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.'122$this->source); })()), "phone_number", [], "any"falsefalsetrue122), 122$this->source), 'widget', ["attr" => ["class" => "short"]]);
  269.         echo "
  270.                                             ";
  271.         // line 123
  272.         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.'123$this->source); })()), "phone_number", [], "any"falsefalsetrue123), 123$this->source), 'errors');
  273.         echo "
  274.                                         </div>
  275.                                     </dd>
  276.                                 </dl>
  277.                                 <dl id=\"top_box__email\">
  278.                                     <dt>";
  279.         // line 128
  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.'128$this->source); })()), "email", [], "any"falsefalsetrue128), 128$this->source), 'label');
  281.         echo "</dt>
  282.                                     <dd>
  283.                                         <div class=\"form-group\">
  284.                                             ";
  285.         // line 131
  286.         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.'131$this->source); })()), "email", [], "any"falsefalsetrue131), 131$this->source), 'widget');
  287.         echo "
  288.                                             ";
  289.         // line 132
  290.         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.'132$this->source); })()), "email", [], "any"falsefalsetrue132), 132$this->source), 'errors');
  291.         echo "
  292.                                         </div>
  293.                                     </dd>
  294.                                 </dl>
  295.                                 <dl id=\"top_box__school\">
  296.                                     <dt>";
  297.         // line 137
  298.         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.'137$this->source); })()), "school", [], "any"falsefalsetrue137), 137$this->source), 'label');
  299.         echo "</dt>
  300.                                     <dd>
  301.                                         <div class=\"form-inline form-group input_school\">
  302.                                             ";
  303.         // line 140
  304.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'140$this->source); })()), "user", [], "any"falsefalsetrue140)) {
  305.             // line 141
  306.             echo "                                                ";
  307.             $context["brother_school_ids"] = [];
  308.             // line 142
  309.             echo "                                                    ";
  310.             $context['_parent'] = $context;
  311.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'142$this->source); })()), "user", [], "any"falsefalsetrue142), "visible_brothers", [], "any"falsefalsetrue142));
  312.             foreach ($context['_seq'] as $context["_key"] => $context["brother"]) {
  313.                 // line 143
  314.                 echo "                                                        ";
  315.                 if (twig_get_attribute($this->env$this->source$context["brother"], "school", [], "any"falsefalsetrue143)) {
  316.                     // line 144
  317.                     echo "                                                            ";
  318.                     $context["brother_school_ids"] = twig_array_merge($this->sandbox->ensureToStringAllowed((isset($context["brother_school_ids"]) || array_key_exists("brother_school_ids"$context) ? $context["brother_school_ids"] : (function () { throw new RuntimeError('Variable "brother_school_ids" does not exist.'144$this->source); })()), 144$this->source), [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["brother"], "school", [], "any"falsefalsetrue144), "school_id", [], "any"falsefalsetrue144)]);
  319.                     // line 145
  320.                     echo "                                                        ";
  321.                 }
  322.                 // line 146
  323.                 echo "                                                    ";
  324.             }
  325.             $_parent $context['_parent'];
  326.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brother'], $context['_parent'], $context['loop']);
  327.             $context array_intersect_key($context$_parent) + $_parent;
  328.             // line 147
  329.             echo "                                                <select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\">
  330.                                                     <option value=\"\">選択してください</option>
  331.                                                     ";
  332.             // line 149
  333.             $context['_parent'] = $context;
  334.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'149$this->source); })()), "school", [], "any"falsefalsetrue149), "vars", [], "any"falsefalsetrue149), "choices", [], "any"falsefalsetrue149));
  335.             foreach ($context['_seq'] as $context["_key"] => $context["school_data"]) {
  336.                 // line 150
  337.                 echo "                                                        ";
  338.                 $context["school"] = twig_get_attribute($this->env$this->source$context["school_data"], "data", [], "any"falsefalsetrue150);
  339.                 // line 151
  340.                 echo "                                                        ";
  341.                 if (twig_get_attribute($this->env$this->source, (isset($context["school"]) || array_key_exists("school"$context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.'151$this->source); })()), "visible", [], "any"falsefalsetrue151)) {
  342.                     // line 152
  343.                     echo "                                                            ";
  344.                     if (((twig_get_attribute($this->env$this->source, (isset($context["school"]) || array_key_exists("school"$context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.'152$this->source); })()), "school_id", [], "any"falsefalsetrue152) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'152$this->source); })()), "user", [], "any"falsefalsetrue152), "school", [], "any"falsefalsetrue152), "school_id", [], "any"falsefalsetrue152)) || twig_in_filter(twig_get_attribute($this->env$this->source, (isset($context["school"]) || array_key_exists("school"$context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.'152$this->source); })()), "school_id", [], "any"falsefalsetrue152), (isset($context["brother_school_ids"]) || array_key_exists("brother_school_ids"$context) ? $context["brother_school_ids"] : (function () { throw new RuntimeError('Variable "brother_school_ids" does not exist.'152$this->source); })())))) {
  345.                         // line 153
  346.                         echo "                                                            <option value=\"";
  347.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["school"]) || array_key_exists("school"$context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.'153$this->source); })()), "school_id", [], "any"falsefalsetrue153), 153$this->source), "html"nulltrue);
  348.                         echo "\"";
  349.                         if ((twig_get_attribute($this->env$this->source, (isset($context["school"]) || array_key_exists("school"$context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.'153$this->source); })()), "school_id", [], "any"falsefalsetrue153) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'153$this->source); })()), "user", [], "any"falsefalsetrue153), "school", [], "any"falsefalsetrue153), "school_id", [], "any"falsefalsetrue153))) {
  350.                             echo "selected";
  351.                         }
  352.                         echo ">";
  353.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["school"]) || array_key_exists("school"$context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.'153$this->source); })()), "school_name", [], "any"falsefalsetrue153), 153$this->source), "html"nulltrue);
  354.                         echo "</option>
  355.                                                             ";
  356.                     }
  357.                     // line 155
  358.                     echo "                                                        ";
  359.                 }
  360.                 // line 156
  361.                 echo "                                                    ";
  362.             }
  363.             $_parent $context['_parent'];
  364.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['school_data'], $context['_parent'], $context['loop']);
  365.             $context array_intersect_key($context$_parent) + $_parent;
  366.             // line 157
  367.             echo "                                                </select>
  368.                                             ";
  369.         } else {
  370.             // line 159
  371.             echo "                                                ";
  372.             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.'159$this->source); })()), "school", [], "any"falsefalsetrue159), 159$this->source), 'widget');
  373.             echo "
  374.                                             ";
  375.         }
  376.         // line 161
  377.         echo "                                            ";
  378.         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.'161$this->source); })()), "school", [], "any"falsefalsetrue161), 161$this->source), 'errors');
  379.         echo "
  380.                                         </div>
  381.                                     </dd>
  382.                                 </dl>
  383.                                 <dl id=\"top_box__school_year\">
  384.                                     <dt>";
  385.         // line 166
  386.         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.'166$this->source); })()), "school_year", [], "any"falsefalsetrue166), 166$this->source), 'label');
  387.         echo "</dt>
  388.                                     <dd>
  389.                                         <div class=\"form-inline form-group input_school_year\">
  390.                                             ";
  391.         // line 169
  392.         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.'169$this->source); })()), "school_year", [], "any"falsefalsetrue169), 169$this->source), 'widget', ["attr" => ["class" => "short"]]);
  393.         echo "
  394.                                             ";
  395.         // line 170
  396.         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.'170$this->source); })()), "school_year", [], "any"falsefalsetrue170), 170$this->source), 'errors');
  397.         echo "
  398.                                         </div>
  399.                                     </dd>
  400.                                 </dl>
  401.                                 <dl id=\"top_box__school_class\">
  402.                                     <dt>";
  403.         // line 175
  404.         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.'175$this->source); })()), "school_class", [], "any"falsefalsetrue175), 175$this->source), 'label');
  405.         echo "</dt>
  406.                                     <dd>
  407.                                         <div class=\"form-inline form-group input_school_class\">
  408.                                             ";
  409.         // line 178
  410.         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.'178$this->source); })()), "school_class", [], "any"falsefalsetrue178), 178$this->source), 'widget', ["attr" => ["class" => "short"]]);
  411.         echo "
  412.                                             ";
  413.         // line 179
  414.         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.'179$this->source); })()), "school_class", [], "any"falsefalsetrue179), 179$this->source), 'errors');
  415.         echo "
  416.                                         </div>
  417.                                     </dd>
  418.                                 </dl>
  419.                                 <dl id=\"top_box__contents\">
  420.                                     <dt>";
  421.         // line 184
  422.         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.'184$this->source); })()), "contents", [], "any"falsefalsetrue184), 184$this->source), 'label');
  423.         echo "</dt>
  424.                                     <dd>
  425.                                         <div class=\"column\">
  426.                                             ";
  427.         // line 187
  428.         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.'187$this->source); })()), "contents", [], "any"falsefalsetrue187), 187$this->source), 'widget');
  429.         echo "
  430.                                             ";
  431.         // line 188
  432.         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.'188$this->source); })()), "contents", [], "any"falsefalsetrue188), 188$this->source), 'errors');
  433.         echo "
  434.                                         </div>
  435.                                     </dd>
  436.                                 </dl>
  437.                             </div>
  438.                             <input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
  439.                             ";
  440.         // line 194
  441.         $context['_parent'] = $context;
  442.         $context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'194$this->source); })()));
  443.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  444.             // line 195
  445.             echo "                                ";
  446.             if (preg_match("[^plg*]"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue195), "name", [], "any"falsefalsetrue195))) {
  447.                 // line 196
  448.                 echo "                                    <div class=\"extra-form dl_table\">
  449.                                         ";
  450.                 // line 197
  451.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 197$this->source), 'row');
  452.                 echo "
  453.                                     </div>
  454.                                 ";
  455.             }
  456.             // line 200
  457.             echo "                            ";
  458.         }
  459.         $_parent $context['_parent'];
  460.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  461.         $context array_intersect_key($context$_parent) + $_parent;
  462.         // line 201
  463.         echo "                            <div id=\"top_box__footer\" class=\"row no-padding\">
  464.                                 <div id=\"top_box__confirm_button\" class=\"btn_group col-sm-offset-4 col-sm-4\">
  465.                                     <p><button type=\"submit\" class=\"def_button3\">確認ページへ</button></p>
  466.                                 </div>
  467.                             </div>
  468.                         </form>
  469.                     </div>
  470.                     <!-- /.col -->
  471.                 </div>
  472.                 <!-- /.row -->
  473.             </div>
  474.             </div>
  475.         </div>
  476.     </div>
  477. </div>
  478. ";
  479.         
  480.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  481.         
  482.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  483.     }
  484.     public function getTemplateName()
  485.     {
  486.         return "Contact/index.twig";
  487.     }
  488.     public function isTraitable()
  489.     {
  490.         return false;
  491.     }
  492.     public function getDebugInfo()
  493.     {
  494.         return array (  490 => 201,  484 => 200,  478 => 197,  475 => 196,  472 => 195,  468 => 194,  459 => 188,  455 => 187,  449 => 184,  441 => 179,  437 => 178,  431 => 175,  423 => 170,  419 => 169,  413 => 166,  404 => 161,  398 => 159,  394 => 157,  388 => 156,  385 => 155,  373 => 153,  370 => 152,  367 => 151,  364 => 150,  360 => 149,  356 => 147,  350 => 146,  347 => 145,  344 => 144,  341 => 143,  336 => 142,  333 => 141,  331 => 140,  325 => 137,  317 => 132,  313 => 131,  307 => 128,  299 => 123,  295 => 122,  289 => 119,  281 => 114,  277 => 113,  273 => 112,  268 => 110,  264 => 109,  260 => 108,  255 => 106,  251 => 105,  247 => 104,  243 => 103,  238 => 101,  233 => 99,  225 => 94,  221 => 93,  217 => 92,  213 => 91,  208 => 89,  201 => 85,  197 => 84,  193 => 83,  189 => 82,  184 => 80,  177 => 76,  173 => 75,  169 => 74,  165 => 73,  160 => 71,  154 => 68,  150 => 67,  134 => 53,  124 => 52,  100 => 36,  90 => 35,  72 => 25,  62 => 24,  39 => 22,);
  495.     }
  496.     public function getSourceContext()
  497.     {
  498.         return new Source("{#
  499. This file is part of EC-CUBE
  500. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  501. http://www.lockon.co.jp/
  502. This program is free software; you can redistribute it and/or
  503. modify it under the terms of the GNU General Public License
  504. as published by the Free Software Foundation; either version 2
  505. of the License, or (at your option) any later version.
  506. This program is distributed in the hope that it will be useful,
  507. but WITHOUT ANY WARRANTY; without even the implied warranty of
  508. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  509. GNU General Public License for more details.
  510. You should have received a copy of the GNU General Public License
  511. along with this program; if not, write to the Free Software
  512. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  513. #}
  514. {% extends 'default_frame.twig' %}
  515. {% block javascript %}
  516. <script src=\"//ajaxzip3.github.io/ajaxzip3.js\" charset=\"UTF-8\"></script>
  517. <script>
  518.     \$(function() {
  519.         \$('#zip-search').click(function() {
  520.             AjaxZip3.zip2addr('contact[zip][zip01]', 'contact[zip][zip02]', 'contact[address][pref]', 'contact[address][addr01]');
  521.         });
  522.     });
  523. </script>
  524. {% endblock javascript %}
  525. {% block stylesheet %}
  526.     <style type=\"text/css\">
  527.     .ec-zipInput, .ec-zipInputHelp, .ec-zipInputHelp .ec-zipInputHelp__icon, .ec-zipInputHelp .ec-icon{
  528.         display: inline-block;
  529.     }
  530.     .ec-zipInputHelp__icon .ec-icon img{
  531.         width: 15px;
  532.         background: #ccc;
  533.         border-radius: 100%;
  534.         margin-right: 5px;
  535.     }
  536.     #top_box__address_detail dd>div{
  537.         margin-bottom: 15px;
  538.     }
  539.     </style>
  540. {% endblock %}
  541. {% block main %}
  542. <div id=\"contents\" class=\"main_only\">
  543.     <div class=\"container-fluid inner no-padding\">
  544.         <div id=\"main\">
  545. <div class=\"complete_all\">
  546.             <h1 class=\"title_bar\">お問い合わせ</h1>
  547.             <div id=\"top_wrap\" class=\"container-fluid\">
  548.                 <div id=\"top_box\" class=\"row\">
  549.                     <div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
  550.                         <p>内容によっては回答をさしあげるのにお時間をいただくこともございます。<br/>
  551.                             また、休業日は翌営業日以降の対応となりますのでご了承ください。</p>
  552.                         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('contact') }}\">
  553.                             {{ form_widget(form._token) }}
  554.                             <div id=\"top_box__body_inner\" class=\"dl_table\">
  555.                                 <dl id=\"top_box__name\">
  556.                                     <dt>{{ form_label(form.name) }}</dt>
  557.                                     <dd class=\"form-group input_name\">
  558.                                         {{ form_widget(form.name.name01) }}
  559.                                         {{ form_widget(form.name.name02) }}
  560.                                         {{ form_errors(form.name.name01) }}
  561.                                         {{ form_errors(form.name.name02) }}
  562.                                     </dd>
  563.                                 </dl>
  564.                                 <dl id=\"top_box__kana\">
  565.                                     <dt>{{ form_label(form.kana) }}</dt>
  566.                                     <dd class=\"form-group input_name\">
  567.                                         {{ form_widget(form.kana.kana01) }}
  568.                                         {{ form_widget(form.kana.kana02) }}
  569.                                         {{ form_errors(form.kana.kana01) }}
  570.                                         {{ form_errors(form.kana.kana02) }}
  571.                                     </dd>
  572.                                 </dl>
  573.                                 <dl id=\"top_box__address_detail\">
  574.                                     <dt>{{ form_label(form.address) }}</dt>
  575.                                     <dd>
  576.                                         <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  577.                                             <span>{{ '〒'|trans }}</span>
  578.                                             {{ form_widget(form.postal_code) }}
  579.                                             {{ form_errors(form.postal_code) }}
  580.                                         </div>
  581.                                         <div class=\"ec-zipInputHelp\">
  582.                                             <div class=\"ec-zipInputHelp__icon\">
  583.                                                 <div class=\"ec-icon\"><img
  584.                                                             src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  585.                                                 </div>
  586.                                             </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  587.                                         </div>
  588.                                         {{ form_errors(form.postal_code) }}
  589.                                         <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  590.                                             {{ form_widget(form.address.pref) }}
  591.                                             {{ form_errors(form.address.pref) }}
  592.                                         </div>
  593.                                         <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  594.                                             {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  595.                                             {{ form_errors(form.address.addr01) }}
  596.                                         </div>
  597.                                         <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  598.                                             {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  599.                                             {{ form_errors(form.address.addr02) }}
  600.                                         </div>
  601.                                     </dd>
  602.                                 </dl>
  603.                                 <dl id=\"top_box__tel\">
  604.                                     <dt>{{ form_label(form.phone_number) }}</dt>
  605.                                     <dd>
  606.                                         <div class=\"form-inline form-group input_tel\">
  607.                                             {{ form_widget(form.phone_number, {attr : {class : 'short'}}) }}
  608.                                             {{ form_errors(form.phone_number) }}
  609.                                         </div>
  610.                                     </dd>
  611.                                 </dl>
  612.                                 <dl id=\"top_box__email\">
  613.                                     <dt>{{ form_label(form.email) }}</dt>
  614.                                     <dd>
  615.                                         <div class=\"form-group\">
  616.                                             {{ form_widget(form.email) }}
  617.                                             {{ form_errors(form.email) }}
  618.                                         </div>
  619.                                     </dd>
  620.                                 </dl>
  621.                                 <dl id=\"top_box__school\">
  622.                                     <dt>{{ form_label(form.school) }}</dt>
  623.                                     <dd>
  624.                                         <div class=\"form-inline form-group input_school\">
  625.                                             {% if app.user %}
  626.                                                 {% set brother_school_ids = [] %}
  627.                                                     {% for brother in app.user.visible_brothers %}
  628.                                                         {% if brother.school %}
  629.                                                             {% set brother_school_ids = brother_school_ids|merge([brother.school.school_id]) %}
  630.                                                         {% endif %}
  631.                                                     {% endfor %}
  632.                                                 <select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\">
  633.                                                     <option value=\"\">選択してください</option>
  634.                                                     {% for school_data in form.school.vars.choices %}
  635.                                                         {% set school = school_data.data %}
  636.                                                         {% if school.visible %}
  637.                                                             {% if school.school_id == app.user.school.school_id or school.school_id in brother_school_ids %}
  638.                                                             <option value=\"{{ school.school_id }}\"{% if school.school_id == app.user.school.school_id %}selected{% endif %}>{{ school.school_name }}</option>
  639.                                                             {% endif %}
  640.                                                         {% endif %}
  641.                                                     {% endfor %}
  642.                                                 </select>
  643.                                             {% else %}
  644.                                                 {{ form_widget(form.school) }}
  645.                                             {% endif %}
  646.                                             {{ form_errors(form.school) }}
  647.                                         </div>
  648.                                     </dd>
  649.                                 </dl>
  650.                                 <dl id=\"top_box__school_year\">
  651.                                     <dt>{{ form_label(form.school_year) }}</dt>
  652.                                     <dd>
  653.                                         <div class=\"form-inline form-group input_school_year\">
  654.                                             {{ form_widget(form.school_year, {attr : {class : 'short'}}) }}
  655.                                             {{ form_errors(form.school_year) }}
  656.                                         </div>
  657.                                     </dd>
  658.                                 </dl>
  659.                                 <dl id=\"top_box__school_class\">
  660.                                     <dt>{{ form_label(form.school_class) }}</dt>
  661.                                     <dd>
  662.                                         <div class=\"form-inline form-group input_school_class\">
  663.                                             {{ form_widget(form.school_class, {attr : {class : 'short'}}) }}
  664.                                             {{ form_errors(form.school_class) }}
  665.                                         </div>
  666.                                     </dd>
  667.                                 </dl>
  668.                                 <dl id=\"top_box__contents\">
  669.                                     <dt>{{ form_label(form.contents) }}</dt>
  670.                                     <dd>
  671.                                         <div class=\"column\">
  672.                                             {{ form_widget(form.contents) }}
  673.                                             {{ form_errors(form.contents) }}
  674.                                         </div>
  675.                                     </dd>
  676.                                 </dl>
  677.                             </div>
  678.                             <input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
  679.                             {% for f in form %}
  680.                                 {% if f.vars.name matches '[^plg*]' %}
  681.                                     <div class=\"extra-form dl_table\">
  682.                                         {{ form_row(f) }}
  683.                                     </div>
  684.                                 {% endif %}
  685.                             {% endfor %}
  686.                             <div id=\"top_box__footer\" class=\"row no-padding\">
  687.                                 <div id=\"top_box__confirm_button\" class=\"btn_group col-sm-offset-4 col-sm-4\">
  688.                                     <p><button type=\"submit\" class=\"def_button3\">確認ページへ</button></p>
  689.                                 </div>
  690.                             </div>
  691.                         </form>
  692.                     </div>
  693.                     <!-- /.col -->
  694.                 </div>
  695.                 <!-- /.row -->
  696.             </div>
  697.             </div>
  698.         </div>
  699.     </div>
  700. </div>
  701. {% endblock %}""Contact/index.twig""/home/nmiwakim01/seifuku-kimpara.com/public_html/app/template/unishop/Contact/index.twig");
  702.     }
  703.     
  704.     public function checkSecurity()
  705.     {
  706.         static $tags = array("if" => 140"set" => 141"for" => 142);
  707.         static $filters = array("escape" => 92"trans" => 92"merge" => 144);
  708.         static $functions = array("url" => 67"form_widget" => 68"form_label" => 71"form_errors" => 75"has_errors" => 91"asset" => 99"form_row" => 197);
  709.         try {
  710.             $this->sandbox->checkSecurity(
  711.                 ['if''set''for'],
  712.                 ['escape''trans''merge'],
  713.                 ['url''form_widget''form_label''form_errors''has_errors''asset''form_row']
  714.             );
  715.         } catch (SecurityError $e) {
  716.             $e->setSourceContext($this->source);
  717.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  718.                 $e->setTemplateLine($tags[$e->getTagName()]);
  719.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  720.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  721.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  722.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  723.             }
  724.             throw $e;
  725.         }
  726.     }
  727. }