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. {% set EnUser = app.request.cookies.get('en_user') == 'Y' %}
  9. {% if EnUser == false %}
  10.     {% form_theme form 'Form/form_div_layout.twig' %}
  11.     <div class="ec-header-search">
  12.         <form method="get" class="searchform" action="{{ path('product_list') }}">
  13.             {# <div class="ec-header-search__category" style="display:none;">
  14.                 <div class="ec-select ec-select_search">
  15.                     {{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'category_id'}}) }}
  16.                 </div>
  17.             </div> #}
  18.             <div class="ec-header-search__keyword">
  19.                 <div class="ec-input">
  20.                     {{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-name', 'placeholder' : 'common.search_keyword' }} ) }}
  21.                     <button class="ec-header-search__keyword-btn" type="submit">
  22.                         <div class="ec-icon">
  23.                             <img src="{{ asset('assets/icon/search-dark.svg') }}" alt="">
  24.                         </div>
  25.                     </button>
  26.                 </div>
  27.             </div>
  28.         </form>
  29.     </div>
  30. {% endif %}