custom/plugins/NrbnLvgTheme/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.             <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" width="24" height="24">
  9.                 <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
  10.             </svg>
  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.                 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" width="24" height="24">
  18.                     <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
  19.                 </svg>
  20.             </button>
  21.         </div>
  22.     {% endif %}
  23. {% endblock %}