app/template/default/Block/search_product.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. {% form_theme form 'Form/form_div_layout.twig' %}
  9. <div class="wrapper_2_header_box01_inputbox1">
  10.     <form method="get" class="searchform" action="{{ path('product_list') }}">
  11.         {{ form_widget(form.name, {'id': null, 'attr': {'class': 'wrapper_2_header_box01_inputbox1_input01', 'placeholder' : 'キーワード' }} ) }}
  12.         <!--<input type="text" class="wrapper_2_header_box01_inputbox1_input01" />-->
  13.         <button type="submit" class="wrapper_2_header_box01_inputbox1_button01">
  14.             <i class="fas fa-search"></i>
  15.         </button>
  16.     </form>
  17. </div>
  18. <div class="ec-headerSearch" style="display: none;">
  19.     <form method="get" class="searchform" action="{{ path('product_list') }}">
  20.         <div class="ec-headerSearch__category">
  21.             <div class="ec-select ec-select_search">
  22.                 {{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'category_id'}}) }}
  23.             </div>
  24.         </div>
  25.         <div class="ec-headerSearch__keyword">
  26.             <div class="ec-input">
  27.                 {{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-name', 'placeholder' : 'キーワード' }} ) }}
  28.                 <button class="ec-headerSearch__keywordBtn" type="submit">
  29.                     <div class="ec-icon">
  30.                         <img src="{{ asset('assets/icon/search-dark.svg') }}" alt="">
  31.                     </div>
  32.                 </button>
  33.             </div>
  34.         </div>
  35.     </form>
  36. </div>