{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% form_theme form 'Form/form_div_layout.twig' %}
{#
<div class="ec-headerSearch">
<form method="get" class="searchform" action="{{ path('product_list') }}">
<div class="ec-headerSearch__category">
<div class="ec-select ec-select_search">
{{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'category_id'}}) }}
</div>
</div>
<div class="ec-headerSearch__keyword">
<div class="ec-input">
{{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-name', 'placeholder' : 'キーワードを入力' }} ) }}
<button class="ec-headerSearch__keywordBtn" type="submit">
<div class="ec-icon">
<img src="{{ asset('assets/icon/search-dark.svg') }}" alt="">
</div>
</button>
</div>
</div>
</form>
</div>
#}
{# bst5_header用に修正、デフォルトの検索フォームを使う場合は下記のコードを削除して、上記のコメントアウトを外してください。 #}
<form class="d-block d-lg-flex" method="get" action="{{ path('product_list') }}">
{{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'w-full w-lg-auto mb-3 mb-lg-0 py-3 py-lg-0 px-4 bgc-white bd bdrs-0 fz-4 c-select-reset'}}) }}
<div class="input-group">
{{ form_widget(form.name, {'id': null, 'attr': {'class': 'form-control bdrs-0', 'placeholder' : 'キーワードを入力' }} ) }}
<div class="input-group-append">
<button class="btn bdrs-0 bgc-main c-white" type="submit">
<i data-feather="search" width="14" height="14"></i>
</button>
</div>
</div>
</form>