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="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' : 'キーワードを入力' }} ) }}
  19.                 <button class="ec-headerSearch__keywordBtn" type="submit">
  20.                     <div class="ec-icon">
  21.                         <svg xmlns="http://www.w3.org/2000/svg" width="21.2" height="21.2" viewBox="0 0 21.2 21.2"><path class="st0" d="M9.1 18.3c-5 0-9.1-4.1-9.1-9.1 0-5.1 4.1-9.2 9.1-9.2s9.1 4.1 9.1 9.1c.1 5.1-4 9.2-9.1 9.2zm0-17.3c-4.5 0-8.1 3.6-8.1 8.1s3.6 8.1 8.1 8.1 8.1-3.6 8.1-8.1-3.6-8.1-8.1-8.1zM20.7 21.2c-.1 0-.3 0-.4-.1l-5.5-5.5c-.2-.2-.2-.5 0-.7s.5-.2.7 0l5.5 5.5c.2.2.2.5 0 .7 0 .1-.2.1-.3.1z"/></svg>
  22.                     </div>
  23.                 </button>
  24.             </div>
  25.         </div>
  26.     </form>
  27. </div>