var/cache/dev/twig/f2/f2b13adba519cac2c1e62622190edcf6.php line 41

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. /* SampleMagazine/index.twig */
  14. class __TwigTemplate_0f3b286d0265860e1b2b67fbef841ca1 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SampleMagazine/index.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SampleMagazine/index.twig"));
  41.         // line 3
  42.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'3$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  43.         // line 1
  44.         $this->parent $this->loadTemplate("default_frame.twig""SampleMagazine/index.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  59.         // line 6
  60.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  61. ";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.     }
  67.     // line 9
  68.     public function block_main($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  75.         // line 10
  76.         echo "
  77. <div class=\"ec-contactRole\">
  78.   <div class=\"ec-pageHeader\">
  79.     <h2 class=\"title\">";
  80.         // line 13
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("健康教室「見本誌」申込み(入力ページ)"), "html"nulltrue);
  82.         echo "</h2>
  83.   </div>
  84.   <div class=\"ec-contactRole__header\">
  85.     <p class=\"ec-para-normal\">";
  86.         // line 16
  87.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("見本誌は無料でお届けいたします。見本誌(月号)の指定はできません。
  88.     休業日は翌営業日以降の対応となりますのでご了承ください。
  89.     "), "html"nulltrue));
  90.         // line 18
  91.         echo "</p>
  92.   </div>
  93.   <form method=\"post\" action=\"";
  94.         // line 20
  95.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("apply_for_sample_magazine");
  96.         echo "\" class=\"h-adr\" novalidate>
  97.     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  98.     ";
  99.         // line 22
  100.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'22$this->source); })()), "_token", [], "any"falsefalsetrue22), 22$this->source), 'widget');
  101.         echo "
  102.     <div class=\"ec-borderedDefs table-layout\">
  103.       <div class=\"tr\">
  104.         <div class=\"th w3\">
  105.           ";
  106.         // line 26
  107.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'26$this->source); })()), "name", [], "any"falsefalsetrue26), 26$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  108.         echo "
  109.         </div>
  110.         <div class=\"td w9\">
  111.           <div class=\"ec-halfInput";
  112.         // line 29
  113.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "name", [], "any"falsefalsetrue29), "name01", [], "any"falsefalsetrue29), 29$this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "name", [], "any"falsefalsetrue29), "name02", [], "any"falsefalsetrue29), 29$this->source))) ? (" error") : (""));
  114.         echo "\">
  115.             ";
  116.         // line 30
  117.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'30$this->source); })()), "name", [], "any"falsefalsetrue30), "name01", [], "any"falsefalsetrue30), 30$this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
  118.         echo "
  119.             ";
  120.         // line 31
  121.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'31$this->source); })()), "name", [], "any"falsefalsetrue31), "name02", [], "any"falsefalsetrue31), 31$this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
  122.         echo "
  123.             ";
  124.         // line 32
  125.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'32$this->source); })()), "name", [], "any"falsefalsetrue32), "name01", [], "any"falsefalsetrue32), 32$this->source), 'errors');
  126.         echo "
  127.             ";
  128.         // line 33
  129.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'33$this->source); })()), "name", [], "any"falsefalsetrue33), "name02", [], "any"falsefalsetrue33), 33$this->source), 'errors');
  130.         echo "
  131.           </div>
  132.         </div>
  133.       </div>
  134.       <div class=\"tr\">
  135.         <div class=\"th w3\">
  136.           ";
  137.         // line 39
  138.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'39$this->source); })()), "kana", [], "any"falsefalsetrue39), 39$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  139.         echo "
  140.         </div>
  141.         <div class=\"td w9\">
  142.           <div class=\"ec-halfInput";
  143.         // line 42
  144.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'42$this->source); })()), "kana", [], "any"falsefalsetrue42), "kana01", [], "any"falsefalsetrue42), 42$this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'42$this->source); })()), "kana", [], "any"falsefalsetrue42), "kana02", [], "any"falsefalsetrue42), 42$this->source))) ? (" error") : (""));
  145.         echo "\">
  146.             ";
  147.         // line 43
  148.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "kana", [], "any"falsefalsetrue43), "kana01", [], "any"falsefalsetrue43), 43$this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  149.         echo "
  150.             ";
  151.         // line 44
  152.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'44$this->source); })()), "kana", [], "any"falsefalsetrue44), "kana02", [], "any"falsefalsetrue44), 44$this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  153.         echo "
  154.             ";
  155.         // line 45
  156.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'45$this->source); })()), "kana", [], "any"falsefalsetrue45), "kana01", [], "any"falsefalsetrue45), 45$this->source), 'errors');
  157.         echo "
  158.             ";
  159.         // line 46
  160.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'46$this->source); })()), "kana", [], "any"falsefalsetrue46), "kana02", [], "any"falsefalsetrue46), 46$this->source), 'errors');
  161.         echo "
  162.           </div>
  163.         </div>
  164.       </div>
  165.       <div class=\"tr\">
  166.         <div class=\"th w3\">
  167.           ";
  168.         // line 52
  169.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'52$this->source); })()), "shipping_type", [], "any"falsefalsetrue52), 52$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お届け先種別"]);
  170.         echo "
  171.         </div>
  172.         <div class=\"td w9\">
  173.           <div class=\"ec-radio";
  174.         // line 55
  175.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "shipping_type", [], "any"falsefalsetrue55), 55$this->source))) ? (" error") : (""));
  176.         echo "\">
  177.             ";
  178.         // line 56
  179.         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.'56$this->source); })()), "shipping_type", [], "any"falsefalsetrue56), 56$this->source), 'widget');
  180.         echo "
  181.             ";
  182.         // line 57
  183.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'57$this->source); })()), "shipping_type", [], "any"falsefalsetrue57), 57$this->source), 'errors');
  184.         echo "
  185.           </div>
  186.         </div>
  187.       </div>
  188.       <div class=\"tr\">
  189.         <div class=\"th w3\">
  190.           ";
  191.         // line 63
  192.         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.'63$this->source); })()), "address", [], "any"falsefalsetrue63), 63$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お届け先住所"]);
  193.         echo "
  194.         </div>
  195.         <div class=\"td w9\">
  196.           <div class=\"ec-zipInput";
  197.         // line 66
  198.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'66$this->source); })()), "postal_code", [], "any"falsefalsetrue66), 66$this->source))) ? (" error") : (""));
  199.         echo "\">
  200.             <span>";
  201.         // line 67
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  203.         echo "</span>
  204.             ";
  205.         // line 68
  206.         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); })()), "postal_code", [], "any"falsefalsetrue68), 68$this->source), 'widget');
  207.         echo "
  208.             <div class=\"ec-zipInputHelp\">
  209.               <div class=\"ec-zipInputHelp__icon\">
  210.                 <div class=\"ec-icon\"><img
  211.                         src=\"";
  212.         // line 72
  213.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  214.         echo "\" alt=\"\">
  215.                 </div>
  216.               </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  217.         // line 74
  218.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  219.         echo "</span></a>
  220.             </div>
  221.             ";
  222.         // line 76
  223.         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.'76$this->source); })()), "postal_code", [], "any"falsefalsetrue76), 76$this->source), 'errors');
  224.         echo "
  225.           </div>
  226.           <div class=\"ec-select";
  227.         // line 78
  228.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'78$this->source); })()), "address", [], "any"falsefalsetrue78), "pref", [], "any"falsefalsetrue78), 78$this->source))) ? (" error") : (""));
  229.         echo "\">
  230.             ";
  231.         // line 79
  232.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'79$this->source); })()), "address", [], "any"falsefalsetrue79), "pref", [], "any"falsefalsetrue79), 79$this->source), 'widget');
  233.         echo "
  234.             ";
  235.         // line 80
  236.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'80$this->source); })()), "address", [], "any"falsefalsetrue80), "pref", [], "any"falsefalsetrue80), 80$this->source), 'errors');
  237.         echo "
  238.           </div>
  239.           <div class=\"ec-input";
  240.         // line 82
  241.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'82$this->source); })()), "address", [], "any"falsefalsetrue82), "addr01", [], "any"falsefalsetrue82), 82$this->source))) ? (" error") : (""));
  242.         echo "\">
  243.             ";
  244.         // line 83
  245.         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); })()), "address", [], "any"falsefalsetrue83), "addr01", [], "any"falsefalsetrue83), 83$this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:京都市中京区西ノ京小堀池町)"]]);
  246.         echo "
  247.             ";
  248.         // line 84
  249.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'84$this->source); })()), "address", [], "any"falsefalsetrue84), "addr01", [], "any"falsefalsetrue84), 84$this->source), 'errors');
  250.         echo "
  251.           </div>
  252.           <div class=\"ec-input";
  253.         // line 86
  254.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'86$this->source); })()), "address", [], "any"falsefalsetrue86), "addr02", [], "any"falsefalsetrue86), 86$this->source))) ? (" error") : (""));
  255.         echo "\">
  256.             ";
  257.         // line 87
  258.         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.'87$this->source); })()), "address", [], "any"falsefalsetrue87), "addr02", [], "any"falsefalsetrue87), 87$this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:8-2)"]]);
  259.         echo "
  260.             ";
  261.         // line 88
  262.         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.'88$this->source); })()), "address", [], "any"falsefalsetrue88), "addr02", [], "any"falsefalsetrue88), 88$this->source), 'errors');
  263.         echo "
  264.           </div>
  265.           <div class=\"attention-area\">
  266.               <p class=\"attention\">マンション名は必ずご入力ください。</p>
  267.           </div>
  268.           <div class=\"ec-input";
  269.         // line 93
  270.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'93$this->source); })()), "company_name", [], "any"falsefalsetrue93), 93$this->source))) ? (" error") : (""));
  271.         echo "\">
  272.               ";
  273.         // line 94
  274.         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); })()), "company_name", [], "any"falsefalsetrue94), 94$this->source), 'widget', ["attr" => ["placeholder" => "学校名/勤務先名"]]);
  275.         echo "
  276.               ";
  277.         // line 95
  278.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'95$this->source); })()), "company_name", [], "any"falsefalsetrue95), 95$this->source), 'errors');
  279.         echo "
  280.           </div>
  281.           <div class=\"attention-area\">
  282.               <p class=\"attention\">ご入力の住所が、学校や勤務先の場合、学校名/勤務先名もご入力ください。</p>
  283.           </div>
  284.         </div>
  285.       </div>
  286.       <div class=\"tr\">
  287.         <div class=\"th w3\">
  288.           ";
  289.         // line 104
  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.'104$this->source); })()), "phone_number", [], "any"falsefalsetrue104), 104$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
  291.         echo "
  292.         </div>
  293.         <div class=\"td w9\">
  294.           <div class=\"ec-telInput";
  295.         // line 107
  296.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'107$this->source); })()), "phone_number", [], "any"falsefalsetrue107), 107$this->source))) ? (" error") : (""));
  297.         echo "\">
  298.             ";
  299.         // line 108
  300.         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.'108$this->source); })()), "phone_number", [], "any"falsefalsetrue108), 108$this->source), 'widget');
  301.         echo "
  302.             ";
  303.         // line 109
  304.         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.'109$this->source); })()), "phone_number", [], "any"falsefalsetrue109), 109$this->source), 'errors');
  305.         echo "
  306.           </div>
  307.         </div>
  308.       </div>
  309.       <div class=\"tr\">
  310.         <div class=\"th w3\">
  311.           ";
  312.         // line 115
  313.         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.'115$this->source); })()), "email", [], "any"falsefalsetrue115), 115$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  314.         echo "
  315.         </div>
  316.         <div class=\"td w9\">
  317.           <div class=\"ec-input";
  318.         // line 118
  319.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'118$this->source); })()), "email", [], "any"falsefalsetrue118), 118$this->source))) ? (" error") : (""));
  320.         echo "\">
  321.             ";
  322.         // line 119
  323.         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); })()), "email", [], "any"falsefalsetrue119), 119$this->source), 'widget');
  324.         echo "
  325.             ";
  326.         // line 120
  327.         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.'120$this->source); })()), "email", [], "any"falsefalsetrue120), 120$this->source), 'errors');
  328.         echo "
  329.           </div>
  330.         </div>
  331.       </div>
  332.       <div class=\"tr\">
  333.         <div class=\"th w3\">
  334.           ";
  335.         // line 126
  336.         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.'126$this->source); })()), "age", [], "any"falsefalsetrue126), 126$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "年齢"]);
  337.         echo "
  338.         </div>
  339.         <div class=\"td w9\">
  340.           <div class=\"ec-radio";
  341.         // line 129
  342.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'129$this->source); })()), "age", [], "any"falsefalsetrue129), 129$this->source))) ? (" error") : (""));
  343.         echo "\">
  344.             ";
  345.         // line 130
  346.         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.'130$this->source); })()), "age", [], "any"falsefalsetrue130), 130$this->source), 'widget');
  347.         echo "
  348.             ";
  349.         // line 131
  350.         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); })()), "age", [], "any"falsefalsetrue131), 131$this->source), 'errors');
  351.         echo "
  352.           </div>
  353.         </div>
  354.       </div>
  355.       <div class=\"tr\">
  356.         <div class=\"th w3\">
  357.           ";
  358.         // line 137
  359.         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); })()), "company_school_name", [], "any"falsefalsetrue137), 137$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "現在の勤務先"]);
  360.         echo "
  361.         </div>
  362.         <div class=\"td w9\">
  363.           <div class=\"ec-input";
  364.         // line 140
  365.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'140$this->source); })()), "company_school_name", [], "any"falsefalsetrue140), 140$this->source))) ? (" error") : (""));
  366.         echo "\">
  367.             ";
  368.         // line 141
  369.         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.'141$this->source); })()), "company_school_name", [], "any"falsefalsetrue141), 141$this->source), 'widget');
  370.         echo "
  371.             ";
  372.         // line 142
  373.         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.'142$this->source); })()), "company_school_name", [], "any"falsefalsetrue142), 142$this->source), 'errors');
  374.         echo "
  375.           </div>
  376.           <div class=\"attention-area\">
  377.               <p class=\"attention\">学生の方は「学生」と入力してください。</p>
  378.           </div>
  379.         </div>
  380.       </div>
  381.       <div class=\"tr\">
  382.         <div class=\"th w3\">
  383.           ";
  384.         // line 151
  385.         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.'151$this->source); })()), "contents1", [], "any"falsefalsetrue151), 151$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "現在、ご購読中の雑誌はございますか?"]);
  386.         echo "
  387.         </div>
  388.         <div class=\"td w9\">
  389.           <div class=\"ec-input";
  390.         // line 154
  391.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'154$this->source); })()), "contents1", [], "any"falsefalsetrue154), 154$this->source))) ? (" error") : (""));
  392.         echo "\">
  393.             ";
  394.         // line 155
  395.         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.'155$this->source); })()), "contents1", [], "any"falsefalsetrue155), 155$this->source), 'widget');
  396.         echo "
  397.             ";
  398.         // line 156
  399.         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.'156$this->source); })()), "contents1", [], "any"falsefalsetrue156), 156$this->source), 'errors');
  400.         echo "
  401.           </div>
  402.         </div>
  403.       </div>
  404.       <div class=\"tr\">
  405.         <div class=\"th w3\">
  406.           ";
  407.         // line 162
  408.         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); })()), "contents2", [], "any"falsefalsetrue162), 162$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "備考"]);
  409.         echo "
  410.         </div>
  411.         <div class=\"td w9\">
  412.           <div class=\"ec-input";
  413.         // line 165
  414.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'165$this->source); })()), "contents2", [], "any"falsefalsetrue165), 165$this->source))) ? (" error") : (""));
  415.         echo "\">
  416.             ";
  417.         // line 166
  418.         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); })()), "contents2", [], "any"falsefalsetrue166), 166$this->source), 'widget');
  419.         echo "
  420.             ";
  421.         // line 167
  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.'167$this->source); })()), "contents2", [], "any"falsefalsetrue167), 167$this->source), 'errors');
  423.         echo "
  424.             <p>何かございましたらご記入ください。</p>
  425.           </div>
  426.         </div>
  427.       </div>
  428.     </div>
  429.     <div class=\"ec-RegisterRole__actions\">
  430.       <p class=\"btn-area one-btn\">
  431.         <button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">";
  432.         // line 175
  433.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  434.         echo "
  435.         </button>
  436.       </p>
  437.     </div>
  438.   </form>
  439. </div>
  440. ";
  441.         
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  443.         
  444.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  445.     }
  446.     public function getTemplateName()
  447.     {
  448.         return "SampleMagazine/index.twig";
  449.     }
  450.     public function isTraitable()
  451.     {
  452.         return false;
  453.     }
  454.     public function getDebugInfo()
  455.     {
  456.         return array (  452 => 175,  441 => 167,  437 => 166,  433 => 165,  427 => 162,  418 => 156,  414 => 155,  410 => 154,  404 => 151,  392 => 142,  388 => 141,  384 => 140,  378 => 137,  369 => 131,  365 => 130,  361 => 129,  355 => 126,  346 => 120,  342 => 119,  338 => 118,  332 => 115,  323 => 109,  319 => 108,  315 => 107,  309 => 104,  297 => 95,  293 => 94,  289 => 93,  281 => 88,  277 => 87,  273 => 86,  268 => 84,  264 => 83,  260 => 82,  255 => 80,  251 => 79,  247 => 78,  242 => 76,  237 => 74,  232 => 72,  225 => 68,  221 => 67,  217 => 66,  211 => 63,  202 => 57,  198 => 56,  194 => 55,  188 => 52,  179 => 46,  175 => 45,  171 => 44,  167 => 43,  163 => 42,  157 => 39,  148 => 33,  144 => 32,  140 => 31,  136 => 30,  132 => 29,  126 => 26,  119 => 22,  114 => 20,  110 => 18,  106 => 16,  100 => 13,  95 => 10,  85 => 9,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  457.     }
  458.     public function getSourceContext()
  459.     {
  460.         return new Source("{% extends 'default_frame.twig' %}
  461. {% form_theme form 'Form/form_div_layout.twig' %}
  462. {% block javascript %}
  463.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  464. {% endblock javascript %}
  465. {% block main %}
  466. <div class=\"ec-contactRole\">
  467.   <div class=\"ec-pageHeader\">
  468.     <h2 class=\"title\">{{ '健康教室「見本誌」申込み(入力ページ)'|trans }}</h2>
  469.   </div>
  470.   <div class=\"ec-contactRole__header\">
  471.     <p class=\"ec-para-normal\">{{ '見本誌は無料でお届けいたします。見本誌(月号)の指定はできません。
  472.     休業日は翌営業日以降の対応となりますのでご了承ください。
  473.     '|trans|nl2br }}</p>
  474.   </div>
  475.   <form method=\"post\" action=\"{{ url('apply_for_sample_magazine') }}\" class=\"h-adr\" novalidate>
  476.     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  477.     {{ form_widget(form._token) }}
  478.     <div class=\"ec-borderedDefs table-layout\">
  479.       <div class=\"tr\">
  480.         <div class=\"th w3\">
  481.           {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  482.         </div>
  483.         <div class=\"td w9\">
  484.           <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  485.             {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  486.             {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  487.             {{ form_errors(form.name.name01) }}
  488.             {{ form_errors(form.name.name02) }}
  489.           </div>
  490.         </div>
  491.       </div>
  492.       <div class=\"tr\">
  493.         <div class=\"th w3\">
  494.           {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  495.         </div>
  496.         <div class=\"td w9\">
  497.           <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  498.             {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  499.             {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  500.             {{ form_errors(form.kana.kana01) }}
  501.             {{ form_errors(form.kana.kana02) }}
  502.           </div>
  503.         </div>
  504.       </div>
  505.       <div class=\"tr\">
  506.         <div class=\"th w3\">
  507.           {{ form_label(form.shipping_type, 'お届け先種別', { 'label_attr': { 'class': 'ec-label' }}) }}
  508.         </div>
  509.         <div class=\"td w9\">
  510.           <div class=\"ec-radio{{ has_errors(form.shipping_type) ? ' error' }}\">
  511.             {{ form_widget(form.shipping_type) }}
  512.             {{ form_errors(form.shipping_type) }}
  513.           </div>
  514.         </div>
  515.       </div>
  516.       <div class=\"tr\">
  517.         <div class=\"th w3\">
  518.           {{ form_label(form.address, 'お届け先住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  519.         </div>
  520.         <div class=\"td w9\">
  521.           <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  522.             <span>{{ '〒'|trans }}</span>
  523.             {{ form_widget(form.postal_code) }}
  524.             <div class=\"ec-zipInputHelp\">
  525.               <div class=\"ec-zipInputHelp__icon\">
  526.                 <div class=\"ec-icon\"><img
  527.                         src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  528.                 </div>
  529.               </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  530.             </div>
  531.             {{ form_errors(form.postal_code) }}
  532.           </div>
  533.           <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  534.             {{ form_widget(form.address.pref) }}
  535.             {{ form_errors(form.address.pref) }}
  536.           </div>
  537.           <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  538.             {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:京都市中京区西ノ京小堀池町)' }}) }}
  539.             {{ form_errors(form.address.addr01) }}
  540.           </div>
  541.           <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  542.             {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:8-2)' }}) }}
  543.             {{ form_errors(form.address.addr02) }}
  544.           </div>
  545.           <div class=\"attention-area\">
  546.               <p class=\"attention\">マンション名は必ずご入力ください。</p>
  547.           </div>
  548.           <div class=\"ec-input{{ has_errors(form.company_name) ? ' error' }}\">
  549.               {{ form_widget(form.company_name,  { 'attr': { 'placeholder': '学校名/勤務先名' }}) }}
  550.               {{ form_errors(form.company_name) }}
  551.           </div>
  552.           <div class=\"attention-area\">
  553.               <p class=\"attention\">ご入力の住所が、学校や勤務先の場合、学校名/勤務先名もご入力ください。</p>
  554.           </div>
  555.         </div>
  556.       </div>
  557.       <div class=\"tr\">
  558.         <div class=\"th w3\">
  559.           {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  560.         </div>
  561.         <div class=\"td w9\">
  562.           <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  563.             {{ form_widget(form.phone_number) }}
  564.             {{ form_errors(form.phone_number) }}
  565.           </div>
  566.         </div>
  567.       </div>
  568.       <div class=\"tr\">
  569.         <div class=\"th w3\">
  570.           {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  571.         </div>
  572.         <div class=\"td w9\">
  573.           <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  574.             {{ form_widget(form.email) }}
  575.             {{ form_errors(form.email) }}
  576.           </div>
  577.         </div>
  578.       </div>
  579.       <div class=\"tr\">
  580.         <div class=\"th w3\">
  581.           {{ form_label(form.age, '年齢', { 'label_attr': { 'class': 'ec-label' }}) }}
  582.         </div>
  583.         <div class=\"td w9\">
  584.           <div class=\"ec-radio{{ has_errors(form.age) ? ' error' }}\">
  585.             {{ form_widget(form.age) }}
  586.             {{ form_errors(form.age) }}
  587.           </div>
  588.         </div>
  589.       </div>
  590.       <div class=\"tr\">
  591.         <div class=\"th w3\">
  592.           {{ form_label(form.company_school_name, '現在の勤務先', { 'label_attr': { 'class': 'ec-label' }}) }}
  593.         </div>
  594.         <div class=\"td w9\">
  595.           <div class=\"ec-input{{ has_errors(form.company_school_name) ? ' error' }}\">
  596.             {{ form_widget(form.company_school_name) }}
  597.             {{ form_errors(form.company_school_name) }}
  598.           </div>
  599.           <div class=\"attention-area\">
  600.               <p class=\"attention\">学生の方は「学生」と入力してください。</p>
  601.           </div>
  602.         </div>
  603.       </div>
  604.       <div class=\"tr\">
  605.         <div class=\"th w3\">
  606.           {{ form_label(form.contents1, '現在、ご購読中の雑誌はございますか?', { 'label_attr': { 'class': 'ec-label' }}) }}
  607.         </div>
  608.         <div class=\"td w9\">
  609.           <div class=\"ec-input{{ has_errors(form.contents1) ? ' error' }}\">
  610.             {{ form_widget(form.contents1) }}
  611.             {{ form_errors(form.contents1) }}
  612.           </div>
  613.         </div>
  614.       </div>
  615.       <div class=\"tr\">
  616.         <div class=\"th w3\">
  617.           {{ form_label(form.contents2, '備考', { 'label_attr': { 'class': 'ec-label' }}) }}
  618.         </div>
  619.         <div class=\"td w9\">
  620.           <div class=\"ec-input{{ has_errors(form.contents2) ? ' error' }}\">
  621.             {{ form_widget(form.contents2) }}
  622.             {{ form_errors(form.contents2) }}
  623.             <p>何かございましたらご記入ください。</p>
  624.           </div>
  625.         </div>
  626.       </div>
  627.     </div>
  628.     <div class=\"ec-RegisterRole__actions\">
  629.       <p class=\"btn-area one-btn\">
  630.         <button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  631.         </button>
  632.       </p>
  633.     </div>
  634.   </form>
  635. </div>
  636. {% endblock %}""SampleMagazine/index.twig""/home/higashiyamashobo/www/higashiyamashobo.jpn.org/ec-cube/app/template/default/SampleMagazine/index.twig");
  637.     }
  638.     
  639.     public function checkSecurity()
  640.     {
  641.         static $tags = array("form_theme" => 3);
  642.         static $filters = array("escape" => 13"trans" => 13"nl2br" => 18);
  643.         static $functions = array("url" => 20"form_widget" => 22"form_label" => 26"has_errors" => 29"form_errors" => 32"asset" => 72);
  644.         try {
  645.             $this->sandbox->checkSecurity(
  646.                 ['form_theme'],
  647.                 ['escape''trans''nl2br'],
  648.                 ['url''form_widget''form_label''has_errors''form_errors''asset']
  649.             );
  650.         } catch (SecurityError $e) {
  651.             $e->setSourceContext($this->source);
  652.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  653.                 $e->setTemplateLine($tags[$e->getTagName()]);
  654.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  655.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  656.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  657.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  658.             }
  659.             throw $e;
  660.         }
  661.     }
  662. }