custom/plugins/Gartencenter24Theme/src/Resources/views/storefront/layout/header/search.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/search.html.twig' %}
  2. {% block layout_header_search %}
  3.     <div class="header-search">
  4.         <form action="{{ path('frontend.search.page') }}"
  5.               method="get"
  6.               data-search-form="true"
  7.               data-search-widget-options='{{ searchWidgetOptions|json_encode }}'
  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.                         {{ parent() }}
  14.                     {% endblock %}
  15.                     {% block layout_header_search_button %}
  16.                         <div class="input-group-append">
  17.                             <button type="submit"
  18.                                     class="btn header-search-btn"
  19.                                     aria-label="{{ 'header.searchButton'|trans|striptags }}">
  20.                                 <span class="header-search-icon">
  21.                                     <span class="custom-icon-search"></span>
  22.                                 </span>
  23.                             </button>
  24.                         </div>
  25.                     {% endblock %}
  26.                 </div>
  27.             {% endblock %}
  28.         </form>
  29.     </div>
  30. {% endblock %}