templates/pages/contact/index.html.twig line 1

Open in your IDE?
  1. {% extends 'pages/base.html.twig' %}
  2. {% block title %}お問い合わせ|株式会社平塚富士キッチン{% endblock %}
  3. {% block meta_og_title %}お問い合わせ|株式会社平塚富士キッチン{% endblock %}
  4. {% block meta_twitter_title %}お問い合わせ|株式会社平塚富士キッチン{% endblock %}
  5. {% block meta_description %}株式会社平塚富士キッチンのお問い合わせフォームです。必要な情報を記入し、お問い合わせフォームよりお気軽にお問い合わせください。{% endblock %}
  6. {% block meta_og_description %}株式会社平塚富士キッチンのお問い合わせフォームです。必要な情報を記入し、お問い合わせフォームよりお気軽にお問い合わせください。{% endblock %}
  7. {% block body %}
  8.   <div class="pg_breadcrumb-wrapper">
  9.     <div class="pg_breadcrumb">
  10.       <a class="breadcrumb-item c-breadcrumb-group-list__item--white" href="{{ path('top') }}">
  11.         TOP
  12.       </a><span class="c-breadcrumb-group-list__slash--white">/</span>
  13.       <a class="pg_breadcrumb-item" href="{{ path('contact_index')}}">
  14.         お問合わせ
  15.       </a>
  16.     </div>
  17.   </div>
  18. {% if not retry %}
  19.   {# ページコンテンツここに #}
  20.   <main id="contact">
  21. {% include "pages/contact/_hero.html.twig" %}
  22. <div class="c-contact_wrap">
  23.   <div class="c-contact_intro">
  24.     <h3 class="c-contact_intro_title">お問合わせフォーム</h3>
  25.     <p class="c-contact_intro_text">下記フォームより、<br class="sp-style">お気軽にお問合わせください。</p>
  26.   </div>
  27. {% else %}
  28.   {{ form_errors(form) }}
  29. {% endif %}
  30. {{ form_start(form, {
  31.   action: path('contact_confirm')
  32. }) }}
  33.   {% include "components/form/_row.html.twig" with {
  34.     form: form.name,
  35.     attr: {
  36.       placeholder: "山田 太郎"
  37.     }
  38.   } %}
  39.   {% include "components/form/_row.html.twig" with {
  40.     form: form.kana,
  41.     attr: {
  42.       placeholder: "やまだ たろう"
  43.     }
  44.   } %}
  45.   {% include "components/form/_row.html.twig" with {
  46.     form: form.phone,
  47.     attr: {
  48.       placeholder: "000-0000-0000"
  49.     }
  50.   } %}
  51.   {% include "components/form/_row.html.twig" with {
  52.     form: form.email,
  53.     attr: {
  54.       placeholder: "xxxx@xx.jp"
  55.     }
  56.   } %}
  57.   {% include "components/form/_row.html.twig" with {
  58.     form: form.message,
  59.     attr: {
  60.       placeholder: "お問合わせ内容を入力してください。"
  61.     }
  62.   } %}
  63.   
  64.   {% include "components/form/_agreement.html.twig" %}
  65.   
  66.   {% include "components/_google_recaptcha.html.twig" %}
  67.   <button class="pg_contact-submit_button" type="submit">
  68.     {% include "components/common/_button.html.twig" with {
  69.     text: '送信内容を確認する',
  70.     src: 'build/images/common/arrow_white.svg',
  71.     width: '8',
  72.     height: '12',
  73.     class: 'c-black-button',
  74.     }%}
  75.   </button>
  76.   
  77.   {#<button class="submit-button" type="submit">確認画面へ</button>#}
  78. {{ form_end(form) }}
  79. </div>
  80. </main>
  81. {% endblock %}