app/template/bravers/Entry/contact.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% set body_class = 'registration_page' %}
  3. {% form_theme form 'Form/form_div_layout.twig' %}
  4. {% block javascript %}
  5.     <script src="//yubinbango.github.io/yubinbango/yubinbango.js" charset="UTF-8"></script>
  6. {% endblock javascript %}
  7. {% block main %}
  8.     <div class="ec-contactRole">
  9.         <ul class="breadcrumb p-none">
  10.             <li class="breadcrumb__item">
  11.                 <a href="{{ url('homepage') }}" class="breadcrumb__item__link">
  12.                     ホーム
  13.                 </a>
  14.             </li>
  15.             <li class="breadcrumb__item">
  16.                 <p class="breadcrumb__item__arrow">></p>
  17.             </li>
  18.             <li class="breadcrumb__item">
  19.                 <p class="breadcrumb__item__text">新規会員登録</p>
  20.             </li>
  21.         </ul>
  22.         <div class="ec-pageHeader text-center">
  23.             <h1>{{ '新規会員登録フォーム'|trans }}</h1>
  24.         </div>
  25.         <div class="ec-contactRole__inner">
  26.             <form method="post" action="{{ url('entry_contact') }}" novalidate class="h-adr">
  27.                 <span class="p-country-name" style="display:none;">Japan</span>
  28.                 {{ form_widget(form._token) }}
  29.                 <p class="ec-para-normal text-center text-normal">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
  30.                         また、休業日は翌営業日以降の対応となりますのでご了承ください。
  31.                         '|trans|nl2br }}
  32.                 </p>
  33.                 <div class="ec-borderedDefs">
  34.                     <dl>
  35.                         <dt>
  36.                             {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  37.                         </dt>
  38.                         <dd>
  39.                             <div class="ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error'}}">
  40.                                 {{ form_widget(form.name.name01, { 'attr': { 'placeholder': '姓' }}) }}
  41.                                 {{ form_widget(form.name.name02, { 'attr': { 'placeholder': '名' }}) }}
  42.                                 {{ form_errors(form.name.name01) }}
  43.                                 {{ form_errors(form.name.name02) }}
  44.                             </div>
  45.                         </dd>
  46.                     </dl>
  47.                     <dl>
  48.                         <dt>
  49.                             {{ form_label(form.kana, 'お名前(カナ)', { 'label_attr': { 'class': 'ec-label' }}) }}
  50.                         </dt>
  51.                         <dd>
  52.                             <div class="ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error'}}">
  53.                                 {{ form_widget(form.kana.kana01, { 'attr': { 'placeholder': 'セイ' }}) }}
  54.                                 {{ form_widget(form.kana.kana02, { 'attr': { 'placeholder': 'メイ' }}) }}
  55.                                 {{ form_errors(form.kana.kana01) }}
  56.                                 {{ form_errors(form.kana.kana02) }}
  57.                             </div>
  58.                         </dd>
  59.                     </dl>
  60.                     <dl>
  61.                         <dt>
  62.                             {{ form_label(form.salon_name, 'サロン名', { 'label_attr': { 'class': 'ec-label' }}) }}
  63.                         </dt>
  64.                         <dd>
  65.                             <div class="ec-halfInput{{ has_errors(form.salon_name) ? ' error' }}">
  66.                                 {{ form_widget(form.salon_name) }}
  67.                                 {{ form_errors(form.salon_name) }}
  68.                             </div>
  69.                         </dd>
  70.                     </dl>
  71.                     <dl>
  72.                         <dt>
  73.                             {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  74.                         </dt>
  75.                         <dd>
  76.                             <div class="ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}"><span>{{ '〒'|trans }}</span>
  77.                                 {{ form_widget(form.postal_code) }}
  78.                                 <div class="ec-zipInputHelp">
  79.                                     <div class="ec-zipInputHelp__icon">
  80.                                         <div class="ec-icon"><img
  81.                                                     src="{{ asset('assets/icon/question-white.svg') }}" alt="">
  82.                                         </div>
  83.                                     </div><a href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ '郵便番号検索'|trans }}</span></a>
  84.                                 </div>
  85.                                 {{ form_errors(form.postal_code) }}
  86.                             </div>
  87.                             <div class="ec-select{{ has_errors(form.address.pref) ? ' error' }}">
  88.                                 {{ form_widget(form.address.pref) }}
  89.                                 {{ form_errors(form.address.pref) }}
  90.                             </div>
  91.                             <div class="ec-input{{ has_errors(form.address.addr01) ? ' error' }}">
  92.                                 {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  93.                                 {{ form_errors(form.address.addr01) }}
  94.                             </div>
  95.                             <div class="ec-input{{ has_errors(form.address.addr02) ? ' error' }}">
  96.                                 {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  97.                                 {{ form_errors(form.address.addr02) }}
  98.                             </div>
  99.                         </dd>
  100.                     </dl>
  101.                     <dl>
  102.                         <dt>
  103.                             {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  104.                         </dt>
  105.                         <dd>
  106.                             <div class="ec-telInput{{ has_errors(form.phone_number) ? ' error' }}">
  107.                                 {{ form_widget(form.phone_number) }}
  108.                                 {{ form_errors(form.phone_number) }}
  109.                             </div>
  110.                         </dd>
  111.                     </dl>
  112.                     <dl>
  113.                         <dt>
  114.                             {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  115.                         </dt>
  116.                         <dd>
  117.                             <div class="ec-input{{ has_errors(form.email) ? ' error' }}">
  118.                                 {{ form_widget(form.email, { 'attr': { 'placeholder': '例:ec-cube@example.com' }}) }}
  119.                                 {{ form_errors(form.email) }}
  120.                             </div>
  121.                         </dd>
  122.                     </dl>
  123.                 </div>
  124.                 <div class="ec-registerRole__actions">
  125.                     <div class="btn-size">
  126.                         <button class="ec-blockBtn--action ec-yellow-btn" type="submit" name="mode" value="confirm">{{ '確認ページへ'|trans }}</button>
  127.                     </div>
  128.                 </div>
  129.             </form>
  130.         </div>
  131.     </div>
  132. {% endblock %}