app/template/default/Forgot/index.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% extends 'default_frame.twig' %}
  9. {% form_theme form 'Form/form_div_layout.twig' %}
  10. {% block stylesheet %}
  11.     <link rel="stylesheet" href="{{ asset('assets/css/contact.css') }}">
  12. {% endblock %}
  13. {% block javascript %}
  14.     <script src="{{ asset('assets/js/customer-input-validate.js') }}"></script>
  15.     <script>
  16.     $(function() {
  17.         CustomerInputValidate.bindFormValidation($('#form1'), {
  18.             emailSelector: '#login_email',
  19.             wrapperSelector: '.form-input-wrapper',
  20.             fieldSelectors: [
  21.                 '#login_email'
  22.             ],
  23.             showServerErrors: {{ form.vars.submitted and not form.vars.valid ? 'true' : 'false' }}
  24.         });
  25.     });
  26.     </script>
  27. {% endblock javascript %}
  28. {% block main %}
  29.   <!-- breadcrumb section -->
  30.   <div class="breadcrumb-section">
  31.     <div class="container-1360 border-box px-40">
  32.       <nav class="breadcrumb">
  33.         <a href="{{ url('homepage') }}" class="breadcrumb__item text-black">ホーム</a>
  34.         <img src="{{ asset('assets/img/default/icons/icon-breadcrumb-arrow.svg') }}" alt=">" class="breadcrumb__separator">
  35.         <a href="{{ url('forgot') }}" class="breadcrumb__item text-black">パスワードの再発行</a>
  36.       </nav>
  37.     </div>
  38.   </div>
  39.   <!-- forgot password section -->
  40.   <div class="container-1200">
  41.     <div class="contact-wrapper">
  42.       <!-- Forgot Password Title Section -->
  43.       <div class="top-header-title-section">
  44.         <div class="top-header-icon-text">
  45.           <div class="top-header-icon-text">
  46.             <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  47.               <g clip-path="url(#clip0_459_17915)">
  48.               <path d="M15 6.66667V5C15 2.23858 12.7614 0 10 0C7.23858 0 5 2.23858 5 5V6.66667M15 6.66667H5M15 6.66667H16.6667C17.5871 6.66667 18.3333 7.41286 18.3333 8.33333V16.6667C18.3333 17.5871 17.5871 18.3333 16.6667 18.3333H3.33333C2.41286 18.3333 1.66667 17.5871 1.66667 16.6667V8.33333C1.66667 7.41286 2.41286 6.66667 3.33333 6.66667H5M10 13.3333V15M10 13.3333V11.6667M10 13.3333H11.6667M10 13.3333H8.33333" stroke="#00A854" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  49.               </g>
  50.               <defs>
  51.               <clipPath id="clip0_459_17915">
  52.               <rect width="20" height="20" fill="white"/>
  53.               </clipPath>
  54.               </defs>
  55.             </svg>
  56.             <span class="top-header-text">パスワードの再発行</span>
  57.           </div>
  58.         </div>
  59.         <h1 class="top-header-title">FORGOT PASSWORD</h1>
  60.       </div>
  61.       <!-- Forgot Password Content Section -->
  62.       <div class="contact-content-section">
  63.         <div class="forgot-message-wrapper w-100">
  64.           <p class="contact-notice-text w-100">{{ 'front.forgot.message1'|trans }}</p>
  65.           <p class="contact-notice-text w-100">{{ 'front.forgot.message2'|trans }}</p>
  66.         </div>
  67.       </div>
  68.       <!-- Forgot Password Form -->
  69.       <div class="contact-form">
  70.         <form name="form1" id="form1" method="post" action="{{ url('forgot') }}" class="contact-form-wrapper" novalidate>
  71.           {{ form_widget(form._token) }}
  72.           <!-- Email Field -->
  73.           <div class="form-field">
  74.             <div class="form-field-header">
  75.               <span class="form-label">{{ 'common.mail_address'|trans }}</span>
  76.               <span class="required-badge">必須</span>
  77.             </div>
  78.             <div class="form-field-inputs">
  79.               <div class="form-input-wrapper{{ has_errors(form.login_email) ? ' error' }}">
  80.                 {{ form_widget(form.login_email, {required: false, attr: {'class': 'form-input', 'placeholder': 'common.mail_address'|trans}}) }}
  81.                 {{ form_errors(form.login_email) }}
  82.               </div>
  83.             </div>
  84.           </div>
  85.             <!-- Submit Button -->
  86.             <div class="submit-section">
  87.                 <button type="submit" class="submit-btn submit-btn-primary" form="form1">{{ 'common.next'|trans }}</button>
  88.             </div>
  89.         </form>
  90.       </div>
  91.     </div>
  92.   </div>
  93. {% endblock %}