templates/Default/filter.html.twig line 1

Open in your IDE?
  1. {% if keyword is defined and keyword %}
  2. <h2 class="h4 regular">Recherche de : <strong class="">{{keyword}}</strong></h2>
  3. {% if count %}
  4. <p class="h4 semibold success">{{count}} résultat{{count > 1 ? "s"}} trouvé{{count > 1 ? "s"}}</p>
  5. {% endif %}
  6. {% else %}
  7. <h2 class="h4 semibold upper">Recherche</h2>
  8. <p class="bottom-5">Entrez un mot clé et tapez sur « Entrer »</p>
  9. {% endif %}
  10. <div class='flex row middle shadow-alt border border-gray bg-white relative hoverflow {{desktop("hz-40-in vt-25-in")}} {{mobile("hz-20-in vt-10-in")}}'>
  11.     <input type='search' class='os-filter {{search is defined and search ? "os-search"}} iflex noborder upper h6 noradius nobg w100 vt-5-in' data-target='{{target}}' {{search is defined and search ? 'data-action="?q=:keywords"'}} placeholder='{{placeholder is defined ? placeholder : "Faire une recherche ici..."}}'>
  12.     <div class="absolute top right h100 bg-success os-search-btn pointer" data-target='.os-filter'>
  13.         <div class="h100 flex row middle {{desktop('hz-20-in')}} {{mobile('hz-8-in')}}">
  14.             <i class='icon h100 small contain search filter-white'></i>
  15.         </div>
  16.     </div>
  17. </div>