app/Plugin/PiaContact/Resource/template/default/product_contact/index.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% block stylesheet %}
  3.   <link rel="stylesheet" href="/test/product_contact.css">
  4. {% endblock %}
  5. {% block main %}
  6. <div id="contents" class="main_only">
  7.   <div class="container-fluid inner no-padding">
  8.     <div id="main">
  9.       <h1 class="page-heading">商品のお問い合わせ</h1>
  10.       <div id="top_wrap" class="container-fluid">
  11.         <div id="top_box" class="row">
  12.           <div id="top_box__body" class="col-md-10 col-md-offset-1">
  13.             <p>内容によっては回答をさしあげるのにお時間をいただくこともございます。<br/>
  14.               また、休業日は翌営業日以降の対応となりますのでご了承ください。</p>
  15.           <form name="form1" id="form1" method="post" action="{{ url('plugin_pia_contact') }}">
  16.             {{ form_widget(form._token) }}
  17.             <input type="hidden" name="mode" value="confirm">
  18.             <input type="hidden" id="id" name="id" value="{{ Product.id }}">
  19.             <div id="top_box__body_inner" class="dl_table">
  20.               <dl id="top_box__product">
  21.                 <dt><img src="/html/upload/save_image/{{ Product.main_list_image|no_image_product }}" alt="{{ Product.name }}" alt="image"/></dt>
  22.                 <dd>
  23.                   <div id="product_name" class="column">
  24.                     {{ Product.name }}
  25.                   </div>
  26.                 </dd>
  27.               </dl>
  28.               <dl id="top_box__contents">
  29.                 <dt><label class="control-label required" for="contact_contents">お問い合わせ内容</label><span class="required">必須</span></dt>
  30.                 <dd>
  31.                   <div class="column">
  32.                     {{ form_widget(form.message, {attr: {class: 'form-control'}}) }}
  33.                     {{ form_errors(form.message) }}
  34.                     <p class="mini"><span class="attention">ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。</span></p>
  35.                   </div>
  36.                 </dd>
  37.               </dl>
  38.               <dl id="top_box__name">
  39.                 <dt><label class="control-label required">お名前</label><span class="required">必須</span></dt>
  40.                 <dd class="form-group input_name">
  41.                   {{ form_widget(form.name.name01, {attr: {placeholder: '姓', class: 'form-control'}}) }}
  42.                   {{ form_widget(form.name.name02, {attr: {placeholder: '名', class: 'form-control'}}) }}
  43.                   {{ form_errors(form.name.name01) }}
  44.                   {{ form_errors(form.name.name02) }}
  45.                 </dd>
  46.               </dl>
  47.               <dl id="top_box__email">
  48.                 <dt><label class="control-label required" for="contact_email">メールアドレス</label><span class="required">必須</span></dt>
  49.                 <dd>
  50.                   <div class="form-group">
  51.                     {{ form_widget(form.email, {attr: {class: 'form-control'}}) }}
  52.                     {{ form_errors(form.email) }}
  53.                   </div>
  54.                 </dd>
  55.               </dl>
  56.             </div>
  57.             <input id="top_box__hidden_mode" type="hidden" name="mode" value="confirm">
  58.             <div id="top_box__footer" class="row no-padding">
  59.               <div id="top_box__confirm_button" class="btn_group col-sm-offset-4 col-sm-4">
  60.                 <p><button type="submit" class="btn btn-primary btn-block">確認ページへ</button></p>
  61.               </div>
  62.             </div>
  63.           </form>
  64.         </div>
  65.       </div>
  66.     </div>
  67.   </div>
  68.   </div>
  69. </div>
  70. {% endblock %}