themes/webapicTheme/templates/partials/block-search.html.twig line 1

Open in your IDE?
  1. <div class="overlay-search">
  2.     <div class="overlay-search-top">
  3.         <form method="get" action="{{ path('app_search_result') }}" data-url="{{ path('app_search_result_preview') }}">
  4.             <input class="search" type="text" name="search" placeholder="Votre recherche" />
  5.         </form>
  6.         <button class="close">
  7.             <img src="{{ asset('webapic-theme/images/icon-close.svg') }}" class="ui image" />
  8.         </button>
  9.     </div>
  10.     <div class="overlay-search-content">
  11.         <div class="top">
  12.             <div class="default">
  13.                 <span class="title">{{ 'app.front.block.search.part1'|trans }}</span>
  14.                 <ul>
  15.                     {% for suggest in search.getSearchSuggestText() %}
  16.                     <li><a href="{{ path('app_search_result', {'search': suggest.name}) }}">{{ suggest.name }}</a></li>
  17.                     {% endfor %}
  18.                 </ul>
  19.             </div>
  20.         </div>
  21.         <div class="content">
  22.             <div class="default">
  23.                 <span class="title">{{ 'app.front.block.search.part2'|trans }}</span>
  24.                 <div class="products">
  25.                     <div class="listing1">
  26.                         {% include 'partials/block-search-products.html.twig' with {'products': search.getSearchSuggestProductVariant()} only %}
  27.                     </div>
  28.                 </div>
  29.             </div>
  30.         </div>
  31.         <div class="content result">
  32.             <div class="default">
  33.                 <span class="title">{{ 'app.front.block.search.part3'|trans }}</span>
  34.                 <div class="products">
  35.                     <div class="listing1">
  36.                         {% include 'partials/block-search-products.html.twig' with {'products': search.getSearchSuggestProductVariant()} only %}
  37.                     </div>
  38.                 </div>
  39.             </div>
  40.         </div>
  41.         
  42.     </div>
  43. </div>