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