app/template/akracing/Contact/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 javascript %}
  11.     <script src="//yubinbango.github.io/yubinbango/yubinbango.js" charset="UTF-8"></script>
  12. {% endblock javascript %}
  13. {% block main %}
  14.     <div class="ec-contactRole">
  15.         <div class="ec-pageHeader">
  16.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  17.         </div>
  18.         <div class="ec-off1Grid">
  19.             <div class="ec-off1Grid__cell">
  20.                 <form method="post" action="{{ url('contact') }}" class="h-adr" novalidate>
  21.                     <span class="p-country-name" style="display:none;">Japan</span>
  22.                     {{ form_widget(form._token) }}
  23.                     <div class="support-info">
  24.                     <p>{{ 'こちらはカスタマーサポートフォームではございません。
  25. ご購入いただいた製品に関するお問合せにつきましてはサポートコンテンツをご確認のうえ、サポートセンターまでお問合せください。本フォームよりカスタマーサポート関連のお問い合わせをいただいた場合、ご対応ができない、ないしはご対応が遅れる場合がございます。
  26. '|trans|nl2br }}<br>
  27. <a href="https://www.tekwind.co.jp/AKR/support/" target="_blank">カスタマーサポートセンター</a></p>
  28.                     </div>
  29.                     <div class="support-info">
  30.                     <p>{{ 'AKRacing公式直販ストア専用のお問い合わせになります。他店舗のお問い合わせはお答えできません'|trans|nl2br }}</p>
  31.                     </div>
  32.                     <div class="ec-borderedDefs">
  33.                         <dl>
  34.                            <dt>{{ form_label(form.inquiry_category,  'お問合せ種類', { 'label_attr': { 'class': 'ec-label' }}) }}</dt>
  35.                            <dd class="flex flex-wrap">
  36.                            
  37.                             {% for i in 0..3 %}
  38.                             <span style='margin-right: 30px;'>
  39.                               {{  form_widget(form.inquiry_category[i]) }}
  40.                             </span>
  41.                            {% endfor %}
  42.                            <p>購入後の使用方法やトラブルにつきましては<a href="https://www.tekwind.co.jp/AKR/support/" target="_blank">カスタマーサポートセンター</a>へお問い合わせください</p>
  43.                            </dd>
  44.                         </dl>
  45.                         <dl>
  46.                             <dt>
  47.                                 {{ form_label(form.company_name, '会社名', { 'label_attr': { 'class': 'ec-label' }}) }}
  48.                             </dt>
  49.                             <dd>
  50.                                 <div class="ec-input{{ has_errors(form.company_name) ? ' error' }}">
  51.                                     {{ form_widget(form.company_name, {'attr': { 'placeholder': '会社名' }}) }}
  52.                                     {{ form_errors(form.company_name) }}
  53.                                 </div>
  54.                             </dd>
  55.                         </dl>
  56.                         <dl>
  57.                             <dt>
  58.                                 {{ form_label(form.site_url, 'WEBサイト', { 'label_attr': { 'class': 'ec-label' }}) }}
  59.                             </dt>
  60.                             <dd>
  61.                                 <div class="ec-input{{ has_errors(form.site_url) ? ' error' }}">
  62.                                     {{ form_widget(form.site_url, {'attr': { 'placeholder': 'https://www.akracing.jp/' }}) }}
  63.                                     {{ form_errors(form.site_url) }}
  64.                                 </div>
  65.                             </dd>
  66.                         </dl>
  67.                         <dl>
  68.                             <dt>
  69.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  70.                             </dt>
  71.                             <dd>
  72.                                 <div class="ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}">
  73.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  74.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  75.                                     {{ form_errors(form.name.name01) }}
  76.                                     {{ form_errors(form.name.name02) }}
  77.                                 </div>
  78.                             </dd>
  79.                         </dl>
  80.                         <dl>
  81.                             <dt>
  82.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  83.                             </dt>
  84.                             <dd>
  85.                                 <div class="ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}">
  86.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  87.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  88.                                     {{ form_errors(form.kana.kana01) }}
  89.                                     {{ form_errors(form.kana.kana02) }}
  90.                                 </div>
  91.                             </dd>
  92.                         </dl>
  93.                         <dl>
  94.                             <dt>
  95.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  96.                             </dt>
  97.                             <dd>
  98.                                 <div class="ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}">
  99.                                     <span>{{ '〒'|trans }}</span>
  100.                                     {{ form_widget(form.postal_code) }}
  101.                                     {{ form_errors(form.postal_code) }}
  102.                                 </div>
  103.                                 <div class="ec-zipInputHelp">
  104.                                     <div class="ec-zipInputHelp__icon">
  105.                                         <div class="ec-icon"><img
  106.                                                     src="{{ asset('assets/icon/question-white.svg') }}" alt="">
  107.                                         </div>
  108.                                     </div><a href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ '郵便番号検索'|trans }}</span></a>
  109.                                 </div>
  110.                                 {{ form_errors(form.postal_code) }}
  111.                                 <div class="ec-select{{ has_errors(form.address.pref) ? ' error' }}">
  112.                                     {{ form_widget(form.address.pref) }}
  113.                                     {{ form_errors(form.address.pref) }}
  114.                                 </div>
  115.                                 <div class="ec-input{{ has_errors(form.address.addr01) ? ' error' }}">
  116.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  117.                                     {{ form_errors(form.address.addr01) }}
  118.                                 </div>
  119.                                 <div class="ec-input{{ has_errors(form.address.addr02) ? ' error' }}">
  120.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  121.                                     {{ form_errors(form.address.addr02) }}
  122.                                 </div>
  123.                             </dd>
  124.                         </dl>
  125.                         <dl>
  126.                             <dt>
  127.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  128.                             </dt>
  129.                             <dd>
  130.                                 <div class="ec-telInput{{ has_errors(form.phone_number) ? ' error' }}">
  131.                                     {{ form_widget(form.phone_number) }}
  132.                                     {{ form_errors(form.phone_number) }}
  133.                                 </div>
  134.                                 
  135.                             </dd>
  136.                         </dl>
  137.                         <dl>
  138.                             <dt>
  139.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  140.                             </dt>
  141.                             <dd>
  142.                                 <div class="ec-input{{ has_errors(form.email) ? ' error' }}">
  143.                                     {{ form_widget(form.email) }}
  144.                                     {{ form_errors(form.email) }}
  145.                                 </div>
  146.                                 <p>{{ 'メールアドレスの誤記が多くなっておりますのでご注意ください。
  147. 1週間以上経過してもご返信が無い場合はご記載いただいたメールアドレスが誤っている可能性がございますので、再度お問い合わせをいただけますようお願いいたします。
  148. '|trans }}</p>
  149.                             </dd>
  150.                         </dl>
  151.                         <dl>
  152.                             <dt>
  153.                                 {{ form_label(form.email, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  154.                             </dt>
  155.                             <dd>
  156.                                 <div class="ec-input{{ has_errors(form.contents) ? ' error' }}">
  157.                                     {{ form_widget(form.contents) }}
  158.                                     {{ form_errors(form.contents) }}
  159.                                 </div>
  160.                                 <p>{{ '直販サイトからのご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  161.                             </dd>
  162.                         </dl>
  163.                         {# エンティティ拡張の自動出力 #}
  164.                         {% for f in form if f.vars.eccube_form_options.auto_render %}
  165.                             {% if f.vars.eccube_form_options.form_theme %}
  166.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  167.                                 {{ form_row(f) }}
  168.                             {% else %}
  169.                                 <dl>
  170.                                     <dt>
  171.                                         {{ form_label(f) }}
  172.                                     </dt>
  173.                                     <dd>
  174.                                         <div class="{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}">
  175.                                             {{ form_widget(f) }}
  176.                                             {{ form_errors(f) }}
  177.                                         </div>
  178.                                     </dd>
  179.                                 </dl>
  180.                             {% endif %}
  181.                         {% endfor %}
  182.                     </div>
  183.                     <div class="ec-RegisterRole__actions">
  184.                         <div class="ec-off4Grid flex flex-center">
  185.                             <div class="ec-off4Grid__cell">
  186.                                 <button type="submit" class="ec-blockBtn--action" name="mode" value="confirm">{{ '確認ページへ'|trans }}
  187.                                 </button>
  188.                             </div>
  189.                         </div>
  190.                     </div>
  191.                 </form>
  192.             </div>
  193.         </div>
  194.     </div>
  195. {% endblock %}