var/cache/dev/twig/5a/5a0c98f8207c217a7b631e9410d7d427bcd8ba2d68630ce0cbd590f91dc0878a.php line 40

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. /* Entry/index.twig */
  14. class __TwigTemplate_8f5cfd94cccdbb0fc240fc244574d38783e1587ca049f5837f6297d74b6df7fe 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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Entry/index.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Entry/index.twig"));
  40.         // line 13
  41.         $context["body_class"] = "registration_page";
  42.         // line 15
  43.         $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.'15$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""Entry/index.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 17
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 18
  61.         echo "<style>
  62. .attention-modal {
  63.     display: none;
  64. }
  65. .attention-modal.is-active {
  66.     display: block;
  67. }
  68. .attention-modal {
  69.     width: 100%;
  70.     height: 100%;
  71.     position: fixed;
  72.     top: 0;
  73.     left: 0;
  74.     z-index: 999;
  75. }
  76. .attention-modal-overlay {
  77.     display: flex;
  78.     justify-content: center;
  79.     align-items: center;
  80.     width: 100%;
  81.     height: 100%;
  82. }
  83. .attention-modal .modal-layer-mask {
  84.     background-color: rgba(0, 0, 0, 0.3);
  85.     width: 100%;
  86.     height: 100vh;
  87.     z-index: 5;
  88. }
  89. .attention-modal-inner {
  90.     display: flex;
  91.     flex-flow: column;
  92.     justify-content: center;
  93.     align-items: center;
  94.     background: #eee;
  95.     border-radius: 6px;
  96.     padding: 30px 10px;
  97.     text-align: center;
  98.     width: 100%;
  99.     max-width: 520px;
  100.     position: absolute;
  101.     z-index: 10;
  102. }
  103. .attention-modal-text {
  104.     font-size: 16px;
  105.     font-weight: 600;
  106.     line-height: 1.6;
  107.     margin: 0 0 20px;
  108. }
  109. .attention-modal-text strong {
  110.     color: #DE5D50;
  111. }
  112. .checked-attention {
  113.     display: inline-block;
  114.     font-weight: 300;
  115.     margin: 0 0 35px;
  116. }
  117. .checkbox-button-wrap {
  118.     text-align: end;
  119. }
  120. .checkbox-button-wrap button {
  121.     border-radius: 3px;
  122.     border: none;
  123.     color: #fff;
  124.     display: inline-block;
  125.     font-weight: 600;
  126.     padding: 15px 25px;
  127. }
  128. .attention-modal-return {
  129.     background: #525263;
  130.     margin: 0 20px 0 0 ;
  131. }
  132. .attention-modal-move {
  133.     background-color: #e28e86;
  134.     pointer-events: none;
  135. }
  136. .attention-modal-move.is-move {
  137.     background: #DE5D50;
  138.     pointer-events: unset;
  139. }
  140. @media screen and (max-width: 480px) {
  141.     .attention-modal-inner {
  142.         padding: 25px 10px;
  143.         width: 95%;
  144.     }
  145.     .attention-modal-text {
  146.         font-size: 14px;
  147.     }
  148.     .checked-attention {
  149.         font-size: 12px;
  150.     }
  151. }
  152. </style>
  153. ";
  154.         
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  156.         
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  158.     }
  159.     // line 115
  160.     public function block_javascript($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  167.         // line 116
  168.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  169.     <script>
  170.     validatePostalCode = (postal_codes) =>
  171.     {
  172.         const validate_postal_code = document.getElementById('entry_postal_code')
  173.         let array_postal_code = postal_codes
  174.             .replace(/,+\$/, '').split(',')
  175.             .map((val) => val.replace(/-|\\s+/g, ''))
  176.             .filter((empty) => {return empty !== ''})
  177.             console.log(array_postal_code)
  178.             console.log('郵便番号_登録数:' + array_postal_code.length + '件')
  179.         matchPostalCode = (input_val) =>
  180.         {
  181.             document.querySelector('.ec-registerRole__actions').remove()
  182.             alert('〒'+input_val+':'+'住⺠票住所が当⾃治体に該当する⽅は本サービスをご利⽤いただけません。')
  183.             location.href = '/'
  184.         }
  185.         changePostalCode = () =>
  186.         {
  187.             const input_val = validate_postal_code.value.replace(/-/, '')
  188.             array_postal_code.some(array_val => {
  189.                 if(input_val.match(array_val)) {
  190.                     console.log('該当しました')
  191.                     matchPostalCode(input_val)
  192.                     return true
  193.                 }
  194.                 console.log('該当はありませんでした')
  195.             })
  196.         }
  197.         validate_postal_code.value ?
  198.         changePostalCode() : console.log('郵便番号フォームは未入力の状態です');
  199.         validate_postal_code.addEventListener('change', changePostalCode)
  200.     }
  201.     setAttentionModal = () =>
  202.     {
  203.         const attention_modal = document.getElementById('attention_modal')
  204.         const register_move = document.querySelector('.attention-modal-move')
  205.         const register_return = document.querySelector('.attention-modal-return')
  206.         let move_checkbox = document.getElementById('checked_attention')
  207.             move_checkbox.checked = false
  208.         !document.querySelector('.ec-errorMessage') ?
  209.         attention_modal.classList.add('is-active') : console.log('モーダル非表示');
  210.         move_checkbox.addEventListener('change',() => register_move.classList.toggle('is-move'))
  211.         register_move.addEventListener('click',() => attention_modal.remove())
  212.         register_return.addEventListener('click',() => {
  213.             window.history.length > 2 ?
  214.             window.history.back() : location.href = '/';
  215.         })
  216.     }
  217.     document.addEventListener('DOMContentLoaded', () =>
  218.     {
  219.         const postal_codes = '";
  220.         // line 184
  221.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'184$this->source); })()), "message", [], "any"falsefalsefalse184), "html"nulltrue);
  222.         echo "'
  223.         postal_codes ?
  224.         validatePostalCode(postal_codes) : console.log('郵便番号データの登録はありません');
  225.         !document.getElementById('entry_user_policy_check').checked ?
  226.         setAttentionModal() : console.log('モーダル非表示');
  227.     })
  228.     </script>
  229. ";
  230.         
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  232.         
  233.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  234.     }
  235.     // line 195
  236.     public function block_main($context, array $blocks = [])
  237.     {
  238.         $macros $this->macros;
  239.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  241.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  242.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  243.         // line 196
  244.         echo "    <div id=\"attention_modal\" class=\"attention-modal\">
  245.         <div class=\"attention-modal-overlay\">
  246.             <div class=\"modal-layer-mask\"></div>
  247.             <div class=\"attention-modal-inner\">
  248.                 <p class=\"attention-modal-text\">
  249.                     住⺠票に記載された⾃治体に寄付をする場合、<br><strong>「お礼の品」を受け取ることはできません。</strong><br><br>
  250.                     誠に恐れ⼊りますが、<br>本サービスでは<strong>住⺠票住所が当⾃治体に該当する⽅</strong>の<br>
  251.                     会員登録をお断りさせて頂いております。<br>何卒ご理解のほどよろしくお願いいたします。
  252.                 </p>
  253.                 <div class=\"attention-checkbox\">
  254.                     <input type=\"checkbox\" id=\"checked_attention\" name=\"checked-attention\">
  255.                     <label for=\"checked-attention\" class=\"checked-attention\">記載事項をご確認の上、会員登録へお進みください</label>
  256.                     <div class=\"checkbox-button-wrap\">
  257.                         <button class=\"attention-modal-return\">戻る</button>
  258.                         <button class=\"attention-modal-move\">会員登録へ進む</button>
  259.                     </div>
  260.                 </div>
  261.             </div>
  262.         </div>
  263.     </div>
  264.     <div class=\"ec-registerRole ec-entry-wrap\">
  265.         <div class=\"ec-pageHeader\">
  266.             <h1>";
  267.         // line 219
  268.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html"nulltrue);
  269.         echo "</h1>
  270.         </div>
  271.         <div class=\"ec-off1Grid\">
  272.             <div class=\"ec-off1Grid__cell\">
  273.                 <h2 class=\"ec-entry-title\">寄付者情報の入力</h2>
  274.                 <p class=\"ec-entry-desc\">こちらの入力内容は、お申込み時に反映されます。</p>
  275.                 <form method=\"post\" action=\"";
  276.         // line 225
  277.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  278.         echo "\" novalidate class=\"h-adr\">
  279.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  280.                     ";
  281.         // line 227
  282.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'227$this->source); })()), "_token", [], "any"falsefalsefalse227), 'widget');
  283.         echo "
  284.                     <div class=\"ec-borderedDefs\">
  285.                         <dl>
  286.                             <dt>
  287.                                 ";
  288.         // line 231
  289.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'231$this->source); })()), "name", [], "any"falsefalsefalse231), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  290.         echo "
  291.                                 <p class=\"emphasis\">※控除を受ける方のお名前をご入力ください。</p>
  292.                                 <p class=\"emphasis\">住民票の情報と異なる場合、寄付金控除の対象外となる可能性があります。</p>
  293.                             </dt>
  294.                             <dd>
  295.                                 <div class=\"ec-halfInput";
  296.         // line 236
  297.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'236$this->source); })()), "name", [], "any"falsefalsefalse236), "name01", [], "any"falsefalsefalse236), 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.'236$this->source); })()), "name", [], "any"falsefalsefalse236), "name02", [], "any"falsefalsefalse236))) ? (" error") : (""));
  298.         echo "\">
  299.                                     ";
  300.         // line 237
  301.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'237$this->source); })()), "name", [], "any"falsefalsefalse237), "name01", [], "any"falsefalsefalse237), 'widget', ["attr" => ["placeholder" => "姓"]]);
  302.         echo "
  303.                                     ";
  304.         // line 238
  305.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'238$this->source); })()), "name", [], "any"falsefalsefalse238), "name02", [], "any"falsefalsefalse238), 'widget', ["attr" => ["placeholder" => "名"]]);
  306.         echo "
  307.                                     ";
  308.         // line 239
  309.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'239$this->source); })()), "name", [], "any"falsefalsefalse239), "name01", [], "any"falsefalsefalse239), 'errors');
  310.         echo "
  311.                                     ";
  312.         // line 240
  313.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'240$this->source); })()), "name", [], "any"falsefalsefalse240), "name02", [], "any"falsefalsefalse240), 'errors');
  314.         echo "
  315.                                 </div>
  316.                             </dd>
  317.                         </dl>
  318.                         <dl>
  319.                             <dt>
  320.                                 ";
  321.         // line 246
  322.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'246$this->source); })()), "kana", [], "any"falsefalsefalse246), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  323.         echo "
  324.                             </dt>
  325.                             <dd>
  326.                                 <div class=\"ec-halfInput";
  327.         // line 249
  328.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'249$this->source); })()), "kana", [], "any"falsefalsefalse249), "kana01", [], "any"falsefalsefalse249), 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.'249$this->source); })()), "kana", [], "any"falsefalsefalse249), "kana02", [], "any"falsefalsefalse249))) ? (" error") : (""));
  329.         echo "\">
  330.                                     ";
  331.         // line 250
  332.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'250$this->source); })()), "kana", [], "any"falsefalsefalse250), "kana01", [], "any"falsefalsefalse250), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  333.         echo "
  334.                                     ";
  335.         // line 251
  336.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'251$this->source); })()), "kana", [], "any"falsefalsefalse251), "kana02", [], "any"falsefalsefalse251), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  337.         echo "
  338.                                     ";
  339.         // line 252
  340.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'252$this->source); })()), "kana", [], "any"falsefalsefalse252), "kana01", [], "any"falsefalsefalse252), 'errors');
  341.         echo "
  342.                                     ";
  343.         // line 253
  344.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'253$this->source); })()), "kana", [], "any"falsefalsefalse253), "kana02", [], "any"falsefalsefalse253), 'errors');
  345.         echo "
  346.                                 </div>
  347.                             </dd>
  348.                         </dl>
  349.                         <dl>
  350.                             <dt>
  351.                                 ";
  352.         // line 259
  353.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'259$this->source); })()), "address", [], "any"falsefalsefalse259), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  354.         echo "
  355.                                 <p class=\"emphasis\">※控除を受ける方の住民票住所をご入力ください。</p>
  356.                                 <p class=\"emphasis\">住民票の情報と異なる場合、寄付金控除の対象外となる可能性があります。</p>
  357.                                 <p class=\"emphasis\">ふるさと納税関連の書類は住民票住所へお届けします。</p>
  358.                             </dt>
  359.                             <dd>
  360.                                 <div class=\"ec-zipInput";
  361.         // line 265
  362.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'265$this->source); })()), "postal_code", [], "any"falsefalsefalse265))) ? (" error") : (""));
  363.         echo "\"><span>";
  364.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  365.         echo "</span>
  366.                                     ";
  367.         // line 266
  368.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'266$this->source); })()), "postal_code", [], "any"falsefalsefalse266), 'widget');
  369.         echo "
  370.                                     <div class=\"ec-zipInputHelp\">
  371.                                         <div class=\"ec-zipInputHelp__icon\">
  372.                                             <div class=\"ec-icon\"><img
  373.                                                         src=\"";
  374.         // line 270
  375.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  376.         echo "\" alt=\"\">
  377.                                             </div>
  378.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  379.         // line 272
  380.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  381.         echo "</span></a>
  382.                                     </div>
  383.                                     ";
  384.         // line 274
  385.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'274$this->source); })()), "postal_code", [], "any"falsefalsefalse274), 'errors');
  386.         echo "
  387.                                 </div>
  388.                                 <div class=\"ec-select";
  389.         // line 277
  390.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'277$this->source); })()), "address", [], "any"falsefalsefalse277), "pref", [], "any"falsefalsefalse277))) ? (" error") : (""));
  391.         echo "\">
  392.                                     ";
  393.         // line 278
  394.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'278$this->source); })()), "address", [], "any"falsefalsefalse278), "pref", [], "any"falsefalsefalse278), 'widget');
  395.         echo "
  396.                                     ";
  397.         // line 279
  398.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'279$this->source); })()), "address", [], "any"falsefalsefalse279), "pref", [], "any"falsefalsefalse279), 'errors');
  399.         echo "
  400.                                 </div>
  401.                                 <div class=\"ec-input";
  402.         // line 281
  403.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'281$this->source); })()), "address", [], "any"falsefalsefalse281), "addr01", [], "any"falsefalsefalse281))) ? (" error") : (""));
  404.         echo "\">
  405.                                     ";
  406.         // line 282
  407.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'282$this->source); })()), "address", [], "any"falsefalsefalse282), "addr01", [], "any"falsefalsefalse282), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
  408.         echo "
  409.                                     ";
  410.         // line 283
  411.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'283$this->source); })()), "address", [], "any"falsefalsefalse283), "addr01", [], "any"falsefalsefalse283), 'errors');
  412.         echo "
  413.                                 </div>
  414.                                 <div class=\"ec-input";
  415.         // line 285
  416.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'285$this->source); })()), "address", [], "any"falsefalsefalse285), "addr02", [], "any"falsefalsefalse285))) ? (" error") : (""));
  417.         echo "\">
  418.                                     ";
  419.         // line 286
  420.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'286$this->source); })()), "address", [], "any"falsefalsefalse286), "addr02", [], "any"falsefalsefalse286), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
  421.         echo "
  422.                                     ";
  423.         // line 287
  424.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'287$this->source); })()), "address", [], "any"falsefalsefalse287), "addr02", [], "any"falsefalsefalse287), 'errors');
  425.         echo "
  426.                                 </div>
  427.                             </dd>
  428.                         </dl>
  429.                         <dl>
  430.                             <dt>
  431.                                 ";
  432.         // line 293
  433.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'293$this->source); })()), "birth", [], "any"falsefalsefalse293), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "生年月日"]);
  434.         echo "
  435.                                 <p class=\"emphasis\">※控除を受ける方の生年月日をご入力ください。</p>
  436.                             </dt>
  437.                             <dd>
  438.                                 <div class=\"ec-birth";
  439.         // line 297
  440.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'297$this->source); })()), "birth", [], "any"falsefalsefalse297))) ? (" error") : (""));
  441.         echo "\">
  442.                                     ";
  443.         // line 298
  444.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'298$this->source); })()), "birth", [], "any"falsefalsefalse298), "year", [], "any"falsefalsefalse298), 'widget');
  445.         echo "<span>/</span>
  446.                                     ";
  447.         // line 299
  448.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'299$this->source); })()), "birth", [], "any"falsefalsefalse299), "month", [], "any"falsefalsefalse299), 'widget');
  449.         echo "<span>/</span>
  450.                                     ";
  451.         // line 300
  452.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'300$this->source); })()), "birth", [], "any"falsefalsefalse300), "day", [], "any"falsefalsefalse300), 'widget');
  453.         echo "
  454.                                     ";
  455.         // line 301
  456.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'301$this->source); })()), "birth", [], "any"falsefalsefalse301), 'errors');
  457.         echo "
  458.                                 </div>
  459.                             </dd>
  460.                         </dl>
  461.                         <dl>
  462.                             <dt>
  463.                                 ";
  464.         // line 307
  465.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'307$this->source); })()), "sex", [], "any"falsefalsefalse307), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "性別"]);
  466.         echo "
  467.                             </dt>
  468.                             <dd>
  469.                                 <div class=\"ec-select";
  470.         // line 310
  471.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'310$this->source); })()), "sex", [], "any"falsefalsefalse310))) ? (" error") : (""));
  472.         echo "\">
  473.                                     ";
  474.         // line 311
  475.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'311$this->source); })()), "sex", [], "any"falsefalsefalse311), 'widget');
  476.         echo "
  477.                                     ";
  478.         // line 312
  479.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'312$this->source); })()), "sex", [], "any"falsefalsefalse312), 'errors');
  480.         echo "
  481.                                 </div>
  482.                             </dd>
  483.                         </dl>
  484.                         <dl>
  485.                             <dt>
  486.                                 ";
  487.         // line 318
  488.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'318$this->source); })()), "phone_number", [], "any"falsefalsefalse318), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
  489.         echo "
  490.                                 <p class=\"emphasis\">※携帯電話など日中につながりやすい連絡先をご入力ください。</p>
  491.                             </dt>
  492.                             <dd>
  493.                                 <div class=\"ec-telInput";
  494.         // line 322
  495.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'322$this->source); })()), "phone_number", [], "any"falsefalsefalse322))) ? (" error") : (""));
  496.         echo "\">
  497.                                     ";
  498.         // line 323
  499.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'323$this->source); })()), "phone_number", [], "any"falsefalsefalse323), 'widget');
  500.         echo "
  501.                                     ";
  502.         // line 324
  503.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'324$this->source); })()), "phone_number", [], "any"falsefalsefalse324), 'errors');
  504.         echo "
  505.                                 </div>
  506.                             </dd>
  507.                         </dl>
  508.                         <dl>
  509.                             <dt>
  510.                                 ";
  511.         // line 330
  512.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'330$this->source); })()), "email", [], "any"falsefalsefalse330), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  513.         echo "
  514.                                 <p class=\"emphasis\">※迷惑メールの拒否設定をされている場合、メールが届かない場合があります。</p>
  515.                                 <p class=\"emphasis\">「@cocofuru.jp」を受信できるように設定してください
  516.                                 。</p>
  517.                             </dt>
  518.                             <dd>
  519.                                 <div class=\"ec-input";
  520.         // line 336
  521.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'336$this->source); })()), "email", [], "any"falsefalsefalse336), "first", [], "any"falsefalsefalse336))) ? (" error") : (""));
  522.         echo "\">
  523.                                     ";
  524.         // line 337
  525.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'337$this->source); })()), "email", [], "any"falsefalsefalse337), "first", [], "any"falsefalsefalse337), 'widget', ["attr" => ["placeholder" => "例:ec-cube@example.com"]]);
  526.         echo "
  527.                                     ";
  528.         // line 338
  529.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'338$this->source); })()), "email", [], "any"falsefalsefalse338), "first", [], "any"falsefalsefalse338), 'errors');
  530.         echo "
  531.                                 </div>
  532.                                 <div class=\"ec-input";
  533.         // line 340
  534.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'340$this->source); })()), "email", [], "any"falsefalsefalse340), "second", [], "any"falsefalsefalse340))) ? (" error") : (""));
  535.         echo "\">
  536.                                     ";
  537.         // line 341
  538.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'341$this->source); })()), "email", [], "any"falsefalsefalse341), "second", [], "any"falsefalsefalse341), 'widget', ["attr" => ["placeholder" => "確認のためもう一度入力してください"]]);
  539.         echo "
  540.                                     ";
  541.         // line 342
  542.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'342$this->source); })()), "email", [], "any"falsefalsefalse342), "second", [], "any"falsefalsefalse342), 'errors');
  543.         echo "
  544.                                 </div>
  545.                             </dd>
  546.                         </dl>
  547.                         <dl>
  548.                             <dt>
  549.                                 ";
  550.         // line 348
  551.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'348$this->source); })()), "password", [], "any"falsefalsefalse348), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "パスワード"]);
  552.         echo "
  553.                             </dt>
  554.                             <dd>
  555.                                 <div class=\"ec-input";
  556.         // line 351
  557.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'351$this->source); })()), "password", [], "any"falsefalsefalse351), "first", [], "any"falsefalsefalse351))) ? (" error") : (""));
  558.         echo "\">
  559.                                     ";
  560.         // line 352
  561.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'352$this->source); })()), "password", [], "any"falsefalsefalse352), "first", [], "any"falsefalsefalse352), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("半角英数記号%min%〜%max%文字", ["%min%" => twig_get_attribute($this->env$this->source,         // line 353
  562. (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'353$this->source); })()), "eccube_password_min_len", [], "any"falsefalsefalse353), "%max%" => twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'353$this->source); })()), "eccube_password_max_len", [], "any"falsefalsefalse353)])], "type" => "password"]);
  563.         // line 355
  564.         echo "
  565.                                     ";
  566.         // line 356
  567.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'356$this->source); })()), "password", [], "any"falsefalsefalse356), "first", [], "any"falsefalsefalse356), 'errors');
  568.         echo "
  569.                                 </div>
  570.                                 <div class=\"ec-input";
  571.         // line 358
  572.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'358$this->source); })()), "password", [], "any"falsefalsefalse358), "second", [], "any"falsefalsefalse358))) ? (" error") : (""));
  573.         echo "\">
  574.                                     ";
  575.         // line 359
  576.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'359$this->source); })()), "password", [], "any"falsefalsefalse359), "second", [], "any"falsefalsefalse359), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認のためもう一度入力してください")], "type" => "password"]);
  577.         // line 362
  578.         echo "
  579.                                     ";
  580.         // line 363
  581.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'363$this->source); })()), "password", [], "any"falsefalsefalse363), "second", [], "any"falsefalsefalse363), 'errors');
  582.         echo "
  583.                                 </div>
  584.                             </dd>
  585.                         </dl>
  586.                         ";
  587.         // line 368
  588.         echo "                        ";
  589.         $context['_parent'] = $context;
  590.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'368$this->source); })()), function ($__f__) use ($context$macros) { $context["f"] = $__f__; return twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse368), "eccube_form_options", [], "any"falsefalsefalse368), "auto_render", [], "any"falsefalsefalse368); }));
  591.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  592.             // line 369
  593.             echo "                            ";
  594.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse369), "eccube_form_options", [], "any"falsefalsefalse369), "form_theme", [], "any"falsefalsefalse369)) {
  595.                 // line 370
  596.                 echo "                                ";
  597.                 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse370), "eccube_form_options", [], "any"falsefalsefalse370), "form_theme", [], "any"falsefalsefalse370)], true);
  598.                 // line 371
  599.                 echo "                                ";
  600.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'row');
  601.                 echo "
  602.                             ";
  603.             } else {
  604.                 // line 373
  605.                 echo "                                <dl>
  606.                                     <dt>
  607.                                         ";
  608.                 // line 375
  609.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'label');
  610.                 echo "
  611.                                     </dt>
  612.                                     <dd>
  613.                                         <div class=\"";
  614.                 // line 378
  615.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse378), "eccube_form_options", [], "any"falsefalsefalse378), "style_class", [], "any"falsefalsefalse378), "html"nulltrue);
  616.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($context["f"])) ? (" error") : (""));
  617.                 echo "\">
  618.                                             ";
  619.                 // line 379
  620.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'widget');
  621.                 echo "
  622.                                             ";
  623.                 // line 380
  624.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'errors');
  625.                 echo "
  626.                                         </div>
  627.                                     </dd>
  628.                                 </dl>
  629.                             ";
  630.             }
  631.             // line 385
  632.             echo "                        ";
  633.         }
  634.         $_parent $context['_parent'];
  635.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  636.         $context array_intersect_key($context$_parent) + $_parent;
  637.         // line 386
  638.         echo "                    </div>
  639.                     <div class=\"ec-registerRole__actions\">
  640.                         <div class=\"ec-off4Grid\">
  641.                             <div class=\"ec-off4Grid__cell\">
  642.                                 <div class=\"ec-checkbox";
  643.         // line 390
  644.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.'390$this->source); })()), "user_policy_check", [], "any"falsefalsefalse390))) ? (" error") : (""));
  645.         echo "\">
  646.                                     <label>
  647.                                         ";
  648.         // line 392
  649.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'392$this->source); })()), "user_policy_check", [], "any"falsefalsefalse392), 'widget');
  650.         echo "
  651.                                         ";
  652.         // line 393
  653.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<a class=\"ec-link\" href=\"%url%\" target=\"_blank\">利用規約</a>に同意してお進みください", ["%url%" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_agreement")]);
  654.         echo "
  655.                                     </label>
  656.                                     ";
  657.         // line 395
  658.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'395$this->source); })()), "user_policy_check", [], "any"falsefalsefalse395), 'errors');
  659.         echo "
  660.                                 </div>
  661.                                 <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\" value=\"confirm\">";
  662.         // line 397
  663.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同意する"), "html"nulltrue);
  664.         echo "</button>
  665.                                 <a class=\"ec-blockBtn--cancel\" href=\"";
  666.         // line 398
  667.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  668.         echo "\">";
  669.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同意しない"), "html"nulltrue);
  670.         echo "</a>
  671.                             </div>
  672.                         </div>
  673.                     </div>
  674.                 </form>
  675.             </div>
  676.         </div>
  677.     </div>
  678. ";
  679.         
  680.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  681.         
  682.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  683.     }
  684.     public function getTemplateName()
  685.     {
  686.         return "Entry/index.twig";
  687.     }
  688.     public function isTraitable()
  689.     {
  690.         return false;
  691.     }
  692.     public function getDebugInfo()
  693.     {
  694.         return array (  715 => 398,  711 => 397,  706 => 395,  701 => 393,  697 => 392,  692 => 390,  686 => 386,  680 => 385,  672 => 380,  668 => 379,  663 => 378,  657 => 375,  653 => 373,  647 => 371,  644 => 370,  641 => 369,  636 => 368,  629 => 363,  626 => 362,  624 => 359,  620 => 358,  615 => 356,  612 => 355,  610 => 353,  609 => 352,  605 => 351,  599 => 348,  590 => 342,  586 => 341,  582 => 340,  577 => 338,  573 => 337,  569 => 336,  560 => 330,  551 => 324,  547 => 323,  543 => 322,  536 => 318,  527 => 312,  523 => 311,  519 => 310,  513 => 307,  504 => 301,  500 => 300,  496 => 299,  492 => 298,  488 => 297,  481 => 293,  472 => 287,  468 => 286,  464 => 285,  459 => 283,  455 => 282,  451 => 281,  446 => 279,  442 => 278,  438 => 277,  432 => 274,  427 => 272,  422 => 270,  415 => 266,  409 => 265,  400 => 259,  391 => 253,  387 => 252,  383 => 251,  379 => 250,  375 => 249,  369 => 246,  360 => 240,  356 => 239,  352 => 238,  348 => 237,  344 => 236,  336 => 231,  329 => 227,  324 => 225,  315 => 219,  290 => 196,  280 => 195,  260 => 184,  190 => 116,  180 => 115,  75 => 18,  65 => 17,  54 => 11,  52 => 15,  50 => 13,  37 => 11,);
  695.     }
  696.     public function getSourceContext()
  697.     {
  698.         return new Source("{#
  699. This file is part of EC-CUBE
  700. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  701. http://www.ec-cube.co.jp/
  702. For the full copyright and license information, please view the LICENSE
  703. file that was distributed with this source code.
  704. #}
  705. {% extends 'default_frame.twig' %}
  706. {% set body_class = 'registration_page' %}
  707. {% form_theme form 'Form/form_div_layout.twig' %}
  708. {% block stylesheet %}
  709. <style>
  710. .attention-modal {
  711.     display: none;
  712. }
  713. .attention-modal.is-active {
  714.     display: block;
  715. }
  716. .attention-modal {
  717.     width: 100%;
  718.     height: 100%;
  719.     position: fixed;
  720.     top: 0;
  721.     left: 0;
  722.     z-index: 999;
  723. }
  724. .attention-modal-overlay {
  725.     display: flex;
  726.     justify-content: center;
  727.     align-items: center;
  728.     width: 100%;
  729.     height: 100%;
  730. }
  731. .attention-modal .modal-layer-mask {
  732.     background-color: rgba(0, 0, 0, 0.3);
  733.     width: 100%;
  734.     height: 100vh;
  735.     z-index: 5;
  736. }
  737. .attention-modal-inner {
  738.     display: flex;
  739.     flex-flow: column;
  740.     justify-content: center;
  741.     align-items: center;
  742.     background: #eee;
  743.     border-radius: 6px;
  744.     padding: 30px 10px;
  745.     text-align: center;
  746.     width: 100%;
  747.     max-width: 520px;
  748.     position: absolute;
  749.     z-index: 10;
  750. }
  751. .attention-modal-text {
  752.     font-size: 16px;
  753.     font-weight: 600;
  754.     line-height: 1.6;
  755.     margin: 0 0 20px;
  756. }
  757. .attention-modal-text strong {
  758.     color: #DE5D50;
  759. }
  760. .checked-attention {
  761.     display: inline-block;
  762.     font-weight: 300;
  763.     margin: 0 0 35px;
  764. }
  765. .checkbox-button-wrap {
  766.     text-align: end;
  767. }
  768. .checkbox-button-wrap button {
  769.     border-radius: 3px;
  770.     border: none;
  771.     color: #fff;
  772.     display: inline-block;
  773.     font-weight: 600;
  774.     padding: 15px 25px;
  775. }
  776. .attention-modal-return {
  777.     background: #525263;
  778.     margin: 0 20px 0 0 ;
  779. }
  780. .attention-modal-move {
  781.     background-color: #e28e86;
  782.     pointer-events: none;
  783. }
  784. .attention-modal-move.is-move {
  785.     background: #DE5D50;
  786.     pointer-events: unset;
  787. }
  788. @media screen and (max-width: 480px) {
  789.     .attention-modal-inner {
  790.         padding: 25px 10px;
  791.         width: 95%;
  792.     }
  793.     .attention-modal-text {
  794.         font-size: 14px;
  795.     }
  796.     .checked-attention {
  797.         font-size: 12px;
  798.     }
  799. }
  800. </style>
  801. {% endblock stylesheet %}
  802. {% block javascript %}
  803.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  804.     <script>
  805.     validatePostalCode = (postal_codes) =>
  806.     {
  807.         const validate_postal_code = document.getElementById('entry_postal_code')
  808.         let array_postal_code = postal_codes
  809.             .replace(/,+\$/, '').split(',')
  810.             .map((val) => val.replace(/-|\\s+/g, ''))
  811.             .filter((empty) => {return empty !== ''})
  812.             console.log(array_postal_code)
  813.             console.log('郵便番号_登録数:' + array_postal_code.length + '件')
  814.         matchPostalCode = (input_val) =>
  815.         {
  816.             document.querySelector('.ec-registerRole__actions').remove()
  817.             alert('〒'+input_val+':'+'住⺠票住所が当⾃治体に該当する⽅は本サービスをご利⽤いただけません。')
  818.             location.href = '/'
  819.         }
  820.         changePostalCode = () =>
  821.         {
  822.             const input_val = validate_postal_code.value.replace(/-/, '')
  823.             array_postal_code.some(array_val => {
  824.                 if(input_val.match(array_val)) {
  825.                     console.log('該当しました')
  826.                     matchPostalCode(input_val)
  827.                     return true
  828.                 }
  829.                 console.log('該当はありませんでした')
  830.             })
  831.         }
  832.         validate_postal_code.value ?
  833.         changePostalCode() : console.log('郵便番号フォームは未入力の状態です');
  834.         validate_postal_code.addEventListener('change', changePostalCode)
  835.     }
  836.     setAttentionModal = () =>
  837.     {
  838.         const attention_modal = document.getElementById('attention_modal')
  839.         const register_move = document.querySelector('.attention-modal-move')
  840.         const register_return = document.querySelector('.attention-modal-return')
  841.         let move_checkbox = document.getElementById('checked_attention')
  842.             move_checkbox.checked = false
  843.         !document.querySelector('.ec-errorMessage') ?
  844.         attention_modal.classList.add('is-active') : console.log('モーダル非表示');
  845.         move_checkbox.addEventListener('change',() => register_move.classList.toggle('is-move'))
  846.         register_move.addEventListener('click',() => attention_modal.remove())
  847.         register_return.addEventListener('click',() => {
  848.             window.history.length > 2 ?
  849.             window.history.back() : location.href = '/';
  850.         })
  851.     }
  852.     document.addEventListener('DOMContentLoaded', () =>
  853.     {
  854.         const postal_codes = '{{BaseInfo.message}}'
  855.         postal_codes ?
  856.         validatePostalCode(postal_codes) : console.log('郵便番号データの登録はありません');
  857.         !document.getElementById('entry_user_policy_check').checked ?
  858.         setAttentionModal() : console.log('モーダル非表示');
  859.     })
  860.     </script>
  861. {% endblock javascript %}
  862. {% block main %}
  863.     <div id=\"attention_modal\" class=\"attention-modal\">
  864.         <div class=\"attention-modal-overlay\">
  865.             <div class=\"modal-layer-mask\"></div>
  866.             <div class=\"attention-modal-inner\">
  867.                 <p class=\"attention-modal-text\">
  868.                     住⺠票に記載された⾃治体に寄付をする場合、<br><strong>「お礼の品」を受け取ることはできません。</strong><br><br>
  869.                     誠に恐れ⼊りますが、<br>本サービスでは<strong>住⺠票住所が当⾃治体に該当する⽅</strong>の<br>
  870.                     会員登録をお断りさせて頂いております。<br>何卒ご理解のほどよろしくお願いいたします。
  871.                 </p>
  872.                 <div class=\"attention-checkbox\">
  873.                     <input type=\"checkbox\" id=\"checked_attention\" name=\"checked-attention\">
  874.                     <label for=\"checked-attention\" class=\"checked-attention\">記載事項をご確認の上、会員登録へお進みください</label>
  875.                     <div class=\"checkbox-button-wrap\">
  876.                         <button class=\"attention-modal-return\">戻る</button>
  877.                         <button class=\"attention-modal-move\">会員登録へ進む</button>
  878.                     </div>
  879.                 </div>
  880.             </div>
  881.         </div>
  882.     </div>
  883.     <div class=\"ec-registerRole ec-entry-wrap\">
  884.         <div class=\"ec-pageHeader\">
  885.             <h1>{{ '新規会員登録'|trans }}</h1>
  886.         </div>
  887.         <div class=\"ec-off1Grid\">
  888.             <div class=\"ec-off1Grid__cell\">
  889.                 <h2 class=\"ec-entry-title\">寄付者情報の入力</h2>
  890.                 <p class=\"ec-entry-desc\">こちらの入力内容は、お申込み時に反映されます。</p>
  891.                 <form method=\"post\" action=\"{{ url('entry') }}\" novalidate class=\"h-adr\">
  892.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  893.                     {{ form_widget(form._token) }}
  894.                     <div class=\"ec-borderedDefs\">
  895.                         <dl>
  896.                             <dt>
  897.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  898.                                 <p class=\"emphasis\">※控除を受ける方のお名前をご入力ください。</p>
  899.                                 <p class=\"emphasis\">住民票の情報と異なる場合、寄付金控除の対象外となる可能性があります。</p>
  900.                             </dt>
  901.                             <dd>
  902.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error'}}\">
  903.                                     {{ form_widget(form.name.name01, { 'attr': { 'placeholder': '姓' }}) }}
  904.                                     {{ form_widget(form.name.name02, { 'attr': { 'placeholder': '名' }}) }}
  905.                                     {{ form_errors(form.name.name01) }}
  906.                                     {{ form_errors(form.name.name02) }}
  907.                                 </div>
  908.                             </dd>
  909.                         </dl>
  910.                         <dl>
  911.                             <dt>
  912.                                 {{ form_label(form.kana, 'お名前(カナ)', { 'label_attr': { 'class': 'ec-label' }}) }}
  913.                             </dt>
  914.                             <dd>
  915.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error'}}\">
  916.                                     {{ form_widget(form.kana.kana01, { 'attr': { 'placeholder': 'セイ' }}) }}
  917.                                     {{ form_widget(form.kana.kana02, { 'attr': { 'placeholder': 'メイ' }}) }}
  918.                                     {{ form_errors(form.kana.kana01) }}
  919.                                     {{ form_errors(form.kana.kana02) }}
  920.                                 </div>
  921.                             </dd>
  922.                         </dl>
  923.                         <dl>
  924.                             <dt>
  925.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  926.                                 <p class=\"emphasis\">※控除を受ける方の住民票住所をご入力ください。</p>
  927.                                 <p class=\"emphasis\">住民票の情報と異なる場合、寄付金控除の対象外となる可能性があります。</p>
  928.                                 <p class=\"emphasis\">ふるさと納税関連の書類は住民票住所へお届けします。</p>
  929.                             </dt>
  930.                             <dd>
  931.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\"><span>{{ '〒'|trans }}</span>
  932.                                     {{ form_widget(form.postal_code) }}
  933.                                     <div class=\"ec-zipInputHelp\">
  934.                                         <div class=\"ec-zipInputHelp__icon\">
  935.                                             <div class=\"ec-icon\"><img
  936.                                                         src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  937.                                             </div>
  938.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  939.                                     </div>
  940.                                     {{ form_errors(form.postal_code) }}
  941.                                 </div>
  942.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  943.                                     {{ form_widget(form.address.pref) }}
  944.                                     {{ form_errors(form.address.pref) }}
  945.                                 </div>
  946.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  947.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  948.                                     {{ form_errors(form.address.addr01) }}
  949.                                 </div>
  950.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  951.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  952.                                     {{ form_errors(form.address.addr02) }}
  953.                                 </div>
  954.                             </dd>
  955.                         </dl>
  956.                         <dl>
  957.                             <dt>
  958.                                 {{ form_label(form.birth, '生年月日', { 'label_attr': {'class': 'ec-label' }}) }}
  959.                                 <p class=\"emphasis\">※控除を受ける方の生年月日をご入力ください。</p>
  960.                             </dt>
  961.                             <dd>
  962.                                 <div class=\"ec-birth{{ has_errors(form.birth) ? ' error' }}\">
  963.                                     {{ form_widget(form.birth.year) }}<span>/</span>
  964.                                     {{ form_widget(form.birth.month) }}<span>/</span>
  965.                                     {{ form_widget(form.birth.day) }}
  966.                                     {{ form_errors(form.birth) }}
  967.                                 </div>
  968.                             </dd>
  969.                         </dl>
  970.                         <dl>
  971.                             <dt>
  972.                                 {{ form_label(form.sex, '性別', { 'label_attr': { 'class': 'ec-label' }}) }}
  973.                             </dt>
  974.                             <dd>
  975.                                 <div class=\"ec-select{{ has_errors(form.sex) ? ' error' }}\">
  976.                                     {{ form_widget(form.sex) }}
  977.                                     {{ form_errors(form.sex) }}
  978.                                 </div>
  979.                             </dd>
  980.                         </dl>
  981.                         <dl>
  982.                             <dt>
  983.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  984.                                 <p class=\"emphasis\">※携帯電話など日中につながりやすい連絡先をご入力ください。</p>
  985.                             </dt>
  986.                             <dd>
  987.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  988.                                     {{ form_widget(form.phone_number) }}
  989.                                     {{ form_errors(form.phone_number) }}
  990.                                 </div>
  991.                             </dd>
  992.                         </dl>
  993.                         <dl>
  994.                             <dt>
  995.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  996.                                 <p class=\"emphasis\">※迷惑メールの拒否設定をされている場合、メールが届かない場合があります。</p>
  997.                                 <p class=\"emphasis\">「@cocofuru.jp」を受信できるように設定してください
  998.                                 。</p>
  999.                             </dt>
  1000.                             <dd>
  1001.                                 <div class=\"ec-input{{ has_errors(form.email.first) ? ' error' }}\">
  1002.                                     {{ form_widget(form.email.first, { 'attr': { 'placeholder': '例:ec-cube@example.com' }}) }}
  1003.                                     {{ form_errors(form.email.first) }}
  1004.                                 </div>
  1005.                                 <div class=\"ec-input{{ has_errors(form.email.second) ? ' error' }}\">
  1006.                                     {{ form_widget(form.email.second, { 'attr': { 'placeholder': '確認のためもう一度入力してください' }}) }}
  1007.                                     {{ form_errors(form.email.second) }}
  1008.                                 </div>
  1009.                             </dd>
  1010.                         </dl>
  1011.                         <dl>
  1012.                             <dt>
  1013.                                 {{ form_label(form.password, 'パスワード', { 'label_attr': {'class': 'ec-label' }}) }}
  1014.                             </dt>
  1015.                             <dd>
  1016.                                 <div class=\"ec-input{{ has_errors(form.password.first) ? ' error' }}\">
  1017.                                     {{ form_widget(form.password.first, {
  1018.                                         'attr': { 'placeholder': '半角英数記号%min%〜%max%文字'|trans({ '%min%': eccube_config.eccube_password_min_len, '%max%': eccube_config.eccube_password_max_len }) },
  1019.                                         'type': 'password'
  1020.                                     }) }}
  1021.                                     {{ form_errors(form.password.first) }}
  1022.                                 </div>
  1023.                                 <div class=\"ec-input{{ has_errors(form.password.second) ? ' error' }}\">
  1024.                                     {{ form_widget(form.password.second, {
  1025.                                         'attr': { 'placeholder': '確認のためもう一度入力してください'|trans },
  1026.                                         'type': 'password'
  1027.                                     }) }}
  1028.                                     {{ form_errors(form.password.second) }}
  1029.                                 </div>
  1030.                             </dd>
  1031.                         </dl>
  1032.                         {# エンティティ拡張の自動出力 #}
  1033.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  1034.                             {% if f.vars.eccube_form_options.form_theme %}
  1035.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  1036.                                 {{ form_row(f) }}
  1037.                             {% else %}
  1038.                                 <dl>
  1039.                                     <dt>
  1040.                                         {{ form_label(f) }}
  1041.                                     </dt>
  1042.                                     <dd>
  1043.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  1044.                                             {{ form_widget(f) }}
  1045.                                             {{ form_errors(f) }}
  1046.                                         </div>
  1047.                                     </dd>
  1048.                                 </dl>
  1049.                             {% endif %}
  1050.                         {% endfor %}
  1051.                     </div>
  1052.                     <div class=\"ec-registerRole__actions\">
  1053.                         <div class=\"ec-off4Grid\">
  1054.                             <div class=\"ec-off4Grid__cell\">
  1055.                                 <div class=\"ec-checkbox{{ has_errors(form.user_policy_check) ? ' error' }}\">
  1056.                                     <label>
  1057.                                         {{ form_widget(form.user_policy_check) }}
  1058.                                         {{ '<a class=\"ec-link\" href=\"%url%\" target=\"_blank\">利用規約</a>に同意してお進みください'|trans({ '%url%': url('help_agreement') })|raw }}
  1059.                                     </label>
  1060.                                     {{ form_errors(form.user_policy_check) }}
  1061.                                 </div>
  1062.                                 <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\" value=\"confirm\">{{ '同意する'|trans }}</button>
  1063.                                 <a class=\"ec-blockBtn--cancel\" href=\"{{ url('homepage') }}\">{{ '同意しない'|trans }}</a>
  1064.                             </div>
  1065.                         </div>
  1066.                     </div>
  1067.                 </form>
  1068.             </div>
  1069.         </div>
  1070.     </div>
  1071. {% endblock %}
  1072. ""Entry/index.twig""/home/cajiya/fjdksla.com/public_html/cocofuru.fjdksla.com/src/Eccube/Resource/template/default/Entry/index.twig");
  1073.     }
  1074. }