custom/static-plugins/NdVoorwindenTheme/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 id="searchCollapse">
  4.         <div class="header-search w-full m-0 text-grey-200 max-w-full">
  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 relative border-0">
  10.                 {% block layout_header_search_input_group %}
  11.                     <div class="input-group w-full">
  12.                         {% block layout_header_search_input %}
  13.                             <input type="search"
  14.                                    name="search"
  15.                                    class="form-control header-search-input w-full !px-3 !pr-6 !py-2 !border !border-grey-700 !text-sm !bg-grey-600 focus:!bg-white !placeholder-gray-200 !transition !rounded-sm !duration-500 focus:!placeholder-black md:!w-[240px] !shadow-header"
  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.                         <button class="btn-toggle header-actions-btn p-0 shrink-0 absolute flex align-center justify-center right-4 top-2"
  24.                                 type="submit"
  25.                                 aria-label="{{ "header.searchButton"|trans|striptags }}">
  26.                                 {% sw_icon 'search' style{'pack': 'theme-icons'} %}
  27.                         </button>
  28.                     </div>
  29.                 {% endblock %}
  30.             </form>
  31.         </div>
  32.     </div>
  33. {% endblock %}