{% sw_extends '@Storefront/storefront/layout/header/search.html.twig' %}
{% block layout_header_search %}
<div class="collapse"
id="searchCollapse">
<div class="container header-search">
<form action="{{ path('frontend.search.page') }}"
method="get"
data-search-form="true"
data-url="{{ path('frontend.search.suggest') }}?search="
class="header-search-form row">
{% block layout_header_search_input_group %}
<div class="col header-search-text">
{{ "Kara.header.searchText"|trans }}
</div>
<div class="col-4 col-lg-2 text-right header-search-close">
<button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
type="button"
data-toggle="collapse"
data-target="#searchCollapse"
aria-expanded="false"
aria-controls="searchCollapse"
aria-label="{{ "header.searchButton"|trans|striptags }}">
{% sw_icon 'x' %}
</button>
</div>
<div class="col-12 input-group">
{% block layout_header_search_input %}
<input type="search"
name="search"
class="form-control header-search-input"
autocomplete="off"
autocapitalize="off"
placeholder="{{ "header.searchPlaceholder"|trans|striptags }}"
aria-label="{{ "header.searchPlaceholder"|trans|striptags }}"
maxlength="30"
value="{{ page.searchTerm }}"
>
{% endblock %}
{% block layout_header_search_button %}
<div class="input-group-append">
<button type="submit"
class="btn header-search-btn"
aria-label="{{ "header.searchButton"|trans|striptags }}">
<span class="header-search-icon">
{% sw_icon 'search' %}
</span>
</button>
</div>
{% endblock %}
</div>
{% endblock %}
</form>
</div>
</div>
{% endblock %}