custom/plugins/Wingsacademy/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_button %}
  3.     {# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct children of `input-group` #}
  4.     {% if feature('v6.5.0.0') %}
  5.         <button type="submit"
  6.                 class="btn header-search-btn"
  7.                 aria-label="{{ "header.searchButton"|trans|striptags }}">
  8.             <span class="header-search-icon">
  9.                 <img src="{{ asset('bundles/wingsacademy/search.svg', 'asset') }}" alt="search-icon" >
  10.             </span>
  11.         </button>
  12.     {% else %}
  13.         <div class="input-group-append">
  14.             <button type="submit"
  15.                     class="btn header-search-btn"
  16.                     aria-label="{{ "header.searchButton"|trans|striptags }}">
  17.                 <span class="header-search-icon">
  18.                    <img src="{{ asset('bundles/wingsacademy/search.svg', 'asset') }}" alt="search-icon" >
  19.                 </span>
  20.             </button>
  21.         </div>
  22.     {% endif %}
  23. {% endblock %}