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>
  12.             <div class="search-form-container">
  13.                 <div class="flex-grow-1">
  14.                     {{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-input', 'placeholder' : 'キーワードから探す' }}
  15.                     ) }}
  16.                 </div>
  17.                 <div>
  18.                     <button class="search-button" type="submit" aria-label="キーワードから探す">
  19.                         <span class="ec-icon">
  20.                             <svg width="20" height="20" viewbox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  21.                                 <path d="M9.0625 15.625C12.6869 15.625 15.625 12.6869 15.625 9.0625C15.625 5.43813 12.6869 2.5 9.0625 2.5C5.43813 2.5 2.5 5.43813 2.5 9.0625C2.5 12.6869 5.43813 15.625 9.0625 15.625Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
  22.                                 <path d="M13.7022 13.7031L17.4991 17.5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
  23.                             </svg>
  24.                         </span>
  25.                     </button>
  26.                 </div>
  27.             </div>
  28.         </div>
  29.     </form>
  30. </div>