src/Eccube/Resource/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="ec-headerSearch">
  10.     <form method="get" class="searchform" action="{{ path('product_list') }}">
  11.         <div class="ec-headerSearch__category">
  12.             <div class="ec-select ec-select_search">
  13.                 {{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'category_id'}}) }}
  14.             </div>
  15.         </div>
  16.         <div class="ec-headerSearch__keyword">
  17.             <div class="ec-input">
  18.                 {{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-name', 'placeholder' : 'common.search_keyword' }} ) }}
  19.                 <button class="ec-headerSearch__keywordBtn" type="submit">
  20.                     <div class="ec-icon">
  21.                         <img src="{{ asset('assets/icon/search-dark.svg') }}" alt="">
  22.                     </div>
  23.                 </button>
  24.             </div>
  25.         </div>
  26.     </form>
  27. </div>