var/cache/dev/twig/9c/9cac2798e1622daf1977187a7424efe6ff53a3c644302a02ba2d77e022c30b15.php line 42

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Contact/index.twig */
  14. class __TwigTemplate_656f8bcee32dd0eddc16738fc587691a8f6e62a7692eb46e03d4a3f8aabd2cb9 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 24
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.     }
  72.     // line 35
  73.     public function block_stylesheet($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.     }
  101.     // line 52
  102.     public function block_main($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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.                                 ";
  296.         // line 136
  297.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "school", [], "any"truetruetrue136)) {
  298.             // line 137
  299.             echo "                                <dl id=\"top_box__school\">
  300.                                     <dt>";
  301.             // line 138
  302.             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.'138$this->source); })()), "school", [], "any"falsefalsetrue138), 138$this->source), 'label');
  303.             echo "</dt>
  304.                                     <dd>
  305.                                         <div class=\"form-inline form-group input_school\">
  306.                                             ";
  307.             // line 141
  308.             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.'141$this->source); })()), "user", [], "any"falsefalsetrue141)) {
  309.                 // line 142
  310.                 echo "                                                ";
  311.                 $context["brother_school_ids"] = [];
  312.                 // line 143
  313.                 echo "                                                    ";
  314.                 $context['_parent'] = $context;
  315.                 $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.'143$this->source); })()), "user", [], "any"falsefalsetrue143), "visible_brothers", [], "any"falsefalsetrue143));
  316.                 foreach ($context['_seq'] as $context["_key"] => $context["brother"]) {
  317.                     // line 144
  318.                     echo "                                                        ";
  319.                     if (twig_get_attribute($this->env$this->source$context["brother"], "school", [], "any"falsefalsetrue144)) {
  320.                         // line 145
  321.                         echo "                                                            ";
  322.                         $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.'145$this->source); })()), 145$this->source), [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["brother"], "school", [], "any"falsefalsetrue145), "school_id", [], "any"falsefalsetrue145)]);
  323.                         // line 146
  324.                         echo "                                                        ";
  325.                     }
  326.                     // line 147
  327.                     echo "                                                    ";
  328.                 }
  329.                 $_parent $context['_parent'];
  330.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brother'], $context['_parent'], $context['loop']);
  331.                 $context array_intersect_key($context$_parent) + $_parent;
  332.                 // line 148
  333.                 echo "                                                <select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\"";
  334.                 echo ((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.'148$this->source); })()), "school", [], "any"falsefalsetrue148), "vars", [], "any"falsefalsetrue148), "required", [], "any"falsefalsetrue148)) ? (" required=\"required\"") : (""));
  335.                 echo ">
  336.                                                     <option value=\"\">選択してください</option>
  337.                                                     ";
  338.                 // line 150
  339.                 $context['_parent'] = $context;
  340.                 $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.'150$this->source); })()), "school", [], "any"falsefalsetrue150), "vars", [], "any"falsefalsetrue150), "choices", [], "any"falsefalsetrue150));
  341.                 foreach ($context['_seq'] as $context["_key"] => $context["school_data"]) {
  342.                     // line 151
  343.                     echo "                                                        ";
  344.                     $context["school"] = twig_get_attribute($this->env$this->source$context["school_data"], "data", [], "any"falsefalsetrue151);
  345.                     // line 152
  346.                     echo "                                                        ";
  347.                     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); })()), "visible", [], "any"falsefalsetrue152)) {
  348.                         // line 153
  349.                         echo "                                                            ";
  350.                         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)) || 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.'153$this->source); })()), "school_id", [], "any"falsefalsetrue153), (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.'153$this->source); })())))) {
  351.                             // line 154
  352.                             echo "                                                            <option value=\"";
  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.'154$this->source); })()), "school_id", [], "any"falsefalsetrue154), 154$this->source), "html"nulltrue);
  354.                             echo "\">";
  355.                             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.'154$this->source); })()), "school_name", [], "any"falsefalsetrue154), 154$this->source), "html"nulltrue);
  356.                             echo "</option>
  357.                                                             ";
  358.                         }
  359.                         // line 156
  360.                         echo "                                                        ";
  361.                     }
  362.                     // line 157
  363.                     echo "                                                    ";
  364.                 }
  365.                 $_parent $context['_parent'];
  366.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['school_data'], $context['_parent'], $context['loop']);
  367.                 $context array_intersect_key($context$_parent) + $_parent;
  368.                 // line 158
  369.                 echo "                                                </select>
  370.                                             ";
  371.             } else {
  372.                 // line 160
  373.                 echo "                                                ";
  374.                 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.'160$this->source); })()), "school", [], "any"falsefalsetrue160), 160$this->source), 'widget');
  375.                 echo "
  376.                                             ";
  377.             }
  378.             // line 162
  379.             echo "                                            ";
  380.             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.'162$this->source); })()), "school", [], "any"falsefalsetrue162), 162$this->source), 'errors');
  381.             echo "
  382.                                         </div>
  383.                                     </dd>
  384.                                 </dl>
  385.                                 ";
  386.         }
  387.         // line 167
  388.         echo "                                <dl id=\"top_box__school_year\">
  389.                                     <dt>";
  390.         // line 168
  391.         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.'168$this->source); })()), "school_year", [], "any"falsefalsetrue168), 168$this->source), 'label');
  392.         echo "</dt>
  393.                                     <dd>
  394.                                         <div class=\"form-inline form-group input_school_year\">
  395.                                             ";
  396.         // line 171
  397.         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.'171$this->source); })()), "school_year", [], "any"falsefalsetrue171), 171$this->source), 'widget', ["attr" => ["class" => "short"]]);
  398.         echo "
  399.                                             ";
  400.         // line 172
  401.         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.'172$this->source); })()), "school_year", [], "any"falsefalsetrue172), 172$this->source), 'errors');
  402.         echo "
  403.                                         </div>
  404.                                     </dd>
  405.                                 </dl>
  406.                                 <dl id=\"top_box__school_class\">
  407.                                     <dt>";
  408.         // line 177
  409.         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.'177$this->source); })()), "school_class", [], "any"falsefalsetrue177), 177$this->source), 'label');
  410.         echo "</dt>
  411.                                     <dd>
  412.                                         <div class=\"form-inline form-group input_school_class\">
  413.                                             ";
  414.         // line 180
  415.         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.'180$this->source); })()), "school_class", [], "any"falsefalsetrue180), 180$this->source), 'widget', ["attr" => ["class" => "short"]]);
  416.         echo "
  417.                                             ";
  418.         // line 181
  419.         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.'181$this->source); })()), "school_class", [], "any"falsefalsetrue181), 181$this->source), 'errors');
  420.         echo "
  421.                                         </div>
  422.                                     </dd>
  423.                                 </dl>
  424.                                 <dl id=\"top_box__contents\">
  425.                                     <dt>";
  426.         // line 186
  427.         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.'186$this->source); })()), "contents", [], "any"falsefalsetrue186), 186$this->source), 'label');
  428.         echo "</dt>
  429.                                     <dd>
  430.                                         <div class=\"column\">
  431.                                             ";
  432.         // line 189
  433.         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.'189$this->source); })()), "contents", [], "any"falsefalsetrue189), 189$this->source), 'widget');
  434.         echo "
  435.                                             ";
  436.         // line 190
  437.         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.'190$this->source); })()), "contents", [], "any"falsefalsetrue190), 190$this->source), 'errors');
  438.         echo "
  439.                                         </div>
  440.                                     </dd>
  441.                                 </dl>
  442.                             </div>
  443.                             <input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
  444.                             ";
  445.         // line 196
  446.         $context['_parent'] = $context;
  447.         $context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'196$this->source); })()));
  448.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  449.             // line 197
  450.             echo "                                ";
  451.             if (preg_match("[^plg*]"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue197), "name", [], "any"falsefalsetrue197))) {
  452.                 // line 198
  453.                 echo "                                    <div class=\"extra-form dl_table\">
  454.                                         ";
  455.                 // line 199
  456.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 199$this->source), 'row');
  457.                 echo "
  458.                                     </div>
  459.                                 ";
  460.             }
  461.             // line 202
  462.             echo "                            ";
  463.         }
  464.         $_parent $context['_parent'];
  465.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  466.         $context array_intersect_key($context$_parent) + $_parent;
  467.         // line 203
  468.         echo "                            <div id=\"top_box__footer\" class=\"row no-padding\">
  469.                                 <div id=\"top_box__confirm_button\" class=\"btn_group col-sm-offset-4 col-sm-4\">
  470.                                     <p><button type=\"submit\" class=\"def_button3\">確認ページへ</button></p>
  471.                                 </div>
  472.                             </div>
  473.                         </form>
  474.                     </div>
  475.                     <!-- /.col -->
  476.                 </div>
  477.                 <!-- /.row -->
  478.             </div>
  479.             </div>
  480.         </div>
  481.     </div>
  482. </div>
  483. ";
  484.         
  485.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  486.         
  487.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  488.     }
  489.     public function getTemplateName()
  490.     {
  491.         return "Contact/index.twig";
  492.     }
  493.     public function isTraitable()
  494.     {
  495.         return false;
  496.     }
  497.     public function getDebugInfo()
  498.     {
  499.         return array (  495 => 203,  489 => 202,  483 => 199,  480 => 198,  477 => 197,  473 => 196,  464 => 190,  460 => 189,  454 => 186,  446 => 181,  442 => 180,  436 => 177,  428 => 172,  424 => 171,  418 => 168,  415 => 167,  406 => 162,  400 => 160,  396 => 158,  390 => 157,  387 => 156,  379 => 154,  376 => 153,  373 => 152,  370 => 151,  366 => 150,  360 => 148,  354 => 147,  351 => 146,  348 => 145,  345 => 144,  340 => 143,  337 => 142,  335 => 141,  329 => 138,  326 => 137,  324 => 136,  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,);
  500.     }
  501.     public function getSourceContext()
  502.     {
  503.         return new Source("{#
  504. This file is part of EC-CUBE
  505. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  506. http://www.lockon.co.jp/
  507. This program is free software; you can redistribute it and/or
  508. modify it under the terms of the GNU General Public License
  509. as published by the Free Software Foundation; either version 2
  510. of the License, or (at your option) any later version.
  511. This program is distributed in the hope that it will be useful,
  512. but WITHOUT ANY WARRANTY; without even the implied warranty of
  513. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  514. GNU General Public License for more details.
  515. You should have received a copy of the GNU General Public License
  516. along with this program; if not, write to the Free Software
  517. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  518. #}
  519. {% extends 'default_frame.twig' %}
  520. {% block javascript %}
  521. <script src=\"//ajaxzip3.github.io/ajaxzip3.js\" charset=\"UTF-8\"></script>
  522. <script>
  523.     \$(function() {
  524.         \$('#zip-search').click(function() {
  525.             AjaxZip3.zip2addr('contact[zip][zip01]', 'contact[zip][zip02]', 'contact[address][pref]', 'contact[address][addr01]');
  526.         });
  527.     });
  528. </script>
  529. {% endblock javascript %}
  530. {% block stylesheet %}
  531.     <style type=\"text/css\">
  532.     .ec-zipInput, .ec-zipInputHelp, .ec-zipInputHelp .ec-zipInputHelp__icon, .ec-zipInputHelp .ec-icon{
  533.         display: inline-block;
  534.     }
  535.     .ec-zipInputHelp__icon .ec-icon img{
  536.         width: 15px;
  537.         background: #ccc;
  538.         border-radius: 100%;
  539.         margin-right: 5px;
  540.     }
  541.     #top_box__address_detail dd>div{
  542.         margin-bottom: 15px;
  543.     }
  544.     </style>
  545. {% endblock %}
  546. {% block main %}
  547. <div id=\"contents\" class=\"main_only\">
  548.     <div class=\"container-fluid inner no-padding\">
  549.         <div id=\"main\">
  550. <div class=\"complete_all\">
  551.             <h1 class=\"title_bar\">お問い合わせ</h1>
  552.             <div id=\"top_wrap\" class=\"container-fluid\">
  553.                 <div id=\"top_box\" class=\"row\">
  554.                     <div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
  555.                         <p>内容によっては回答をさしあげるのにお時間をいただくこともございます。<br/>
  556.                             また、休業日は翌営業日以降の対応となりますのでご了承ください。</p>
  557.                         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('contact') }}\">
  558.                             {{ form_widget(form._token) }}
  559.                             <div id=\"top_box__body_inner\" class=\"dl_table\">
  560.                                 <dl id=\"top_box__name\">
  561.                                     <dt>{{ form_label(form.name) }}</dt>
  562.                                     <dd class=\"form-group input_name\">
  563.                                         {{ form_widget(form.name.name01) }}
  564.                                         {{ form_widget(form.name.name02) }}
  565.                                         {{ form_errors(form.name.name01) }}
  566.                                         {{ form_errors(form.name.name02) }}
  567.                                     </dd>
  568.                                 </dl>
  569.                                 <dl id=\"top_box__kana\">
  570.                                     <dt>{{ form_label(form.kana) }}</dt>
  571.                                     <dd class=\"form-group input_name\">
  572.                                         {{ form_widget(form.kana.kana01) }}
  573.                                         {{ form_widget(form.kana.kana02) }}
  574.                                         {{ form_errors(form.kana.kana01) }}
  575.                                         {{ form_errors(form.kana.kana02) }}
  576.                                     </dd>
  577.                                 </dl>
  578.                                 <dl id=\"top_box__address_detail\">
  579.                                     <dt>{{ form_label(form.address) }}</dt>
  580.                                     <dd>
  581.                                         <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  582.                                             <span>{{ '〒'|trans }}</span>
  583.                                             {{ form_widget(form.postal_code) }}
  584.                                             {{ form_errors(form.postal_code) }}
  585.                                         </div>
  586.                                         <div class=\"ec-zipInputHelp\">
  587.                                             <div class=\"ec-zipInputHelp__icon\">
  588.                                                 <div class=\"ec-icon\"><img
  589.                                                             src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  590.                                                 </div>
  591.                                             </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  592.                                         </div>
  593.                                         {{ form_errors(form.postal_code) }}
  594.                                         <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  595.                                             {{ form_widget(form.address.pref) }}
  596.                                             {{ form_errors(form.address.pref) }}
  597.                                         </div>
  598.                                         <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  599.                                             {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  600.                                             {{ form_errors(form.address.addr01) }}
  601.                                         </div>
  602.                                         <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  603.                                             {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  604.                                             {{ form_errors(form.address.addr02) }}
  605.                                         </div>
  606.                                     </dd>
  607.                                 </dl>
  608.                                 <dl id=\"top_box__tel\">
  609.                                     <dt>{{ form_label(form.phone_number) }}</dt>
  610.                                     <dd>
  611.                                         <div class=\"form-inline form-group input_tel\">
  612.                                             {{ form_widget(form.phone_number, {attr : {class : 'short'}}) }}
  613.                                             {{ form_errors(form.phone_number) }}
  614.                                         </div>
  615.                                     </dd>
  616.                                 </dl>
  617.                                 <dl id=\"top_box__email\">
  618.                                     <dt>{{ form_label(form.email) }}</dt>
  619.                                     <dd>
  620.                                         <div class=\"form-group\">
  621.                                             {{ form_widget(form.email) }}
  622.                                             {{ form_errors(form.email) }}
  623.                                         </div>
  624.                                     </dd>
  625.                                 </dl>
  626.                                 {% if form.school is defined %}
  627.                                 <dl id=\"top_box__school\">
  628.                                     <dt>{{ form_label(form.school) }}</dt>
  629.                                     <dd>
  630.                                         <div class=\"form-inline form-group input_school\">
  631.                                             {% if app.user %}
  632.                                                 {% set brother_school_ids = [] %}
  633.                                                     {% for brother in app.user.visible_brothers %}
  634.                                                         {% if brother.school %}
  635.                                                             {% set brother_school_ids = brother_school_ids|merge([brother.school.school_id]) %}
  636.                                                         {% endif %}
  637.                                                     {% endfor %}
  638.                                                 <select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\"{{ form.school.vars.required ? ' required=\"required\"' : '' }}>
  639.                                                     <option value=\"\">選択してください</option>
  640.                                                     {% for school_data in form.school.vars.choices %}
  641.                                                         {% set school = school_data.data %}
  642.                                                         {% if school.visible %}
  643.                                                             {% if school.school_id == app.user.school.school_id or school.school_id in brother_school_ids %}
  644.                                                             <option value=\"{{ school.school_id }}\">{{ school.school_name }}</option>
  645.                                                             {% endif %}
  646.                                                         {% endif %}
  647.                                                     {% endfor %}
  648.                                                 </select>
  649.                                             {% else %}
  650.                                                 {{ form_widget(form.school) }}
  651.                                             {% endif %}
  652.                                             {{ form_errors(form.school) }}
  653.                                         </div>
  654.                                     </dd>
  655.                                 </dl>
  656.                                 {% endif %}
  657.                                 <dl id=\"top_box__school_year\">
  658.                                     <dt>{{ form_label(form.school_year) }}</dt>
  659.                                     <dd>
  660.                                         <div class=\"form-inline form-group input_school_year\">
  661.                                             {{ form_widget(form.school_year, {attr : {class : 'short'}}) }}
  662.                                             {{ form_errors(form.school_year) }}
  663.                                         </div>
  664.                                     </dd>
  665.                                 </dl>
  666.                                 <dl id=\"top_box__school_class\">
  667.                                     <dt>{{ form_label(form.school_class) }}</dt>
  668.                                     <dd>
  669.                                         <div class=\"form-inline form-group input_school_class\">
  670.                                             {{ form_widget(form.school_class, {attr : {class : 'short'}}) }}
  671.                                             {{ form_errors(form.school_class) }}
  672.                                         </div>
  673.                                     </dd>
  674.                                 </dl>
  675.                                 <dl id=\"top_box__contents\">
  676.                                     <dt>{{ form_label(form.contents) }}</dt>
  677.                                     <dd>
  678.                                         <div class=\"column\">
  679.                                             {{ form_widget(form.contents) }}
  680.                                             {{ form_errors(form.contents) }}
  681.                                         </div>
  682.                                     </dd>
  683.                                 </dl>
  684.                             </div>
  685.                             <input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
  686.                             {% for f in form %}
  687.                                 {% if f.vars.name matches '[^plg*]' %}
  688.                                     <div class=\"extra-form dl_table\">
  689.                                         {{ form_row(f) }}
  690.                                     </div>
  691.                                 {% endif %}
  692.                             {% endfor %}
  693.                             <div id=\"top_box__footer\" class=\"row no-padding\">
  694.                                 <div id=\"top_box__confirm_button\" class=\"btn_group col-sm-offset-4 col-sm-4\">
  695.                                     <p><button type=\"submit\" class=\"def_button3\">確認ページへ</button></p>
  696.                                 </div>
  697.                             </div>
  698.                         </form>
  699.                     </div>
  700.                     <!-- /.col -->
  701.                 </div>
  702.                 <!-- /.row -->
  703.             </div>
  704.             </div>
  705.         </div>
  706.     </div>
  707. </div>
  708. {% endblock %}""Contact/index.twig""/home/nmtokyolad01/tokyoladies-onlinestore.com/public_html/app/template/unishop/Contact/index.twig");
  709.     }
  710.     
  711.     public function checkSecurity()
  712.     {
  713.         static $tags = array("if" => 136"set" => 142"for" => 143);
  714.         static $filters = array("escape" => 92"trans" => 92"merge" => 145);
  715.         static $functions = array("url" => 67"form_widget" => 68"form_label" => 71"form_errors" => 75"has_errors" => 91"asset" => 99"form_row" => 199);
  716.         try {
  717.             $this->sandbox->checkSecurity(
  718.                 ['if''set''for'],
  719.                 ['escape''trans''merge'],
  720.                 ['url''form_widget''form_label''form_errors''has_errors''asset''form_row']
  721.             );
  722.         } catch (SecurityError $e) {
  723.             $e->setSourceContext($this->source);
  724.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  725.                 $e->setTemplateLine($tags[$e->getTagName()]);
  726.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  727.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  728.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  729.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  730.             }
  731.             throw $e;
  732.         }
  733.     }
  734. }