app/template/flapshop/Mypage/login.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_login_frame.twig' %}
  9. {% set body_class = 'mypage' %}
  10. {% block main %}
  11.     <div class="ec-role loginbox">
  12.         <div class="ec-pageHeader">
  13.             <h1>{{ 'ログイン'|trans }}</h1>
  14.         </div>
  15.         <div class="ec-off2Grid">
  16.             <div class="ec-off2Grid__cell">
  17.                 <form name="login_mypage" id="login_mypage" method="post" action="{{ url('mypage_login') }}">
  18.                     {% if app.session.flashBag.has('eccube.login.target.path') %}
  19.                         {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  20.                             <input type="hidden" name="_target_path" value="{{ targetPath }}" />
  21.                         {% endfor %}
  22.                     {% endif %}
  23.                     <div class="ec-login">
  24.                         <div class="ec-login__icon">
  25.                             <div class="ec-icon"><img src="{{ asset('assets/icon/user.svg') }}" alt=""></div>
  26.                         </div>
  27.                         <div class="ec-login__input">
  28.                             <div class="ec-input">
  29.                                 {{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
  30.                                 {{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'パスワード' }}) }}
  31.                             </div>
  32.                             {% if BaseInfo.option_remember_me %}
  33.                             <div class="ec-checkbox">
  34.                                 <label>
  35.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  36.                                         <input type="hidden" name="login_memory" value="1">
  37.                                     {% else %}
  38.                                         {{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
  39.                                     {% endif %}
  40.                                 </label>
  41.                             </div>
  42.                             {% endif %}
  43.                             {% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  44.                                 <p>{{ reset_complete|trans }}</p>
  45.                             {% endfor %}
  46.                             {% if error %}
  47.                                 <p class="ec-errorMessage">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  48.                             {% endif %}
  49.                         </div>
  50.                          <div class="ec-grid1__cell ec-login__input">
  51.                                   <p>2023年12月1日以前に会員登録してくださった会員様におかれましては、新サイトご利用にあたり新たにパスワードの再設定が必要となります。
  52.                                     パスワード【pass20230613】でログイン後、マイページ>会員情報編集よりパスワードの再設定をお願いいたします。</p>
  53.                         </div>
  54.                         <div class="ec-grid2">
  55.                             <div class="ec-grid2__cell">
  56.                                 <div class="ec-login__actions">
  57.                                     <button type="submit"
  58.                                             class="ec-blockBtn--cancel">{{ 'ログイン'|trans }}</button>
  59.                                 </div>
  60.                             </div>
  61.                             <div class="ec-grid2__cell">
  62.                                 <div class="ec-login__link"><a class="ec-link"
  63.                                                                href="{{ url('forgot') }}">{{ 'パスワードの再設定'|trans }}</a>
  64.                                 </div>
  65.                                 <div class="ec-login__link"><a class="ec-link"
  66.                                                                href="{{ url('entry') }}">{{ '新規会員登録'|trans }}</a>
  67.                                 </div>
  68.                             </div>
  69.                         </div>
  70.                     </div>
  71.                     <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  72.                 </form>
  73.             </div>
  74.         </div>
  75.     </div>
  76. {% endblock %}