vendor/shopware/platform/src/Storefront/Resources/views/storefront/layout/header/search.html.twig line 1

Open in your IDE?
  1. {% block layout_header_search %}
  2.     <div class="collapse"
  3.          id="searchCollapse">
  4.         <div class="header-search">
  5.             <form action="{{ path('frontend.search.page') }}"
  6.                   method="get"
  7.                   data-search-form="true"
  8.                   data-url="{{ path('frontend.search.suggest') }}?search="
  9.                   class="header-search-form">
  10.                 {% block layout_header_search_input_group %}
  11.                     <div class="input-group">
  12.                         {% block layout_header_search_input %}
  13.                             <input type="search"
  14.                                    name="search"
  15.                                    class="form-control header-search-input"
  16.                                    autocomplete="off"
  17.                                    autocapitalize="off"
  18.                                    placeholder="{{ "header.searchPlaceholder"|trans|striptags }}"
  19.                                    aria-label="{{ "header.searchPlaceholder"|trans|striptags }}"
  20.                                    value="{{ page.searchTerm }}"
  21.                             >
  22.                         {% endblock %}
  23.                         {% block layout_header_search_button %}
  24.                             <div class="input-group-append">
  25.                                 <button type="submit"
  26.                                         class="btn header-search-btn"
  27.                                         aria-label="{{ "header.searchButton"|trans|striptags }}">
  28.                                     <span class="header-search-icon">
  29.                                         {% sw_icon 'search' %}
  30.                                     </span>
  31.                                 </button>
  32.                             </div>
  33.                         {% endblock %}
  34.                     </div>
  35.                 {% endblock %}
  36.             </form>
  37.         </div>
  38.     </div>
  39. {% endblock %}