Add language selector to search

This commit is contained in:
RealStickman 2022-11-19 19:45:54 +01:00
parent 9880ac6792
commit 04abfde1fa

View File

@ -0,0 +1,8 @@
<div class="searchbox">
<label for="search-by"><i class="fa fa-search"></i></label>
<input id="search-by" type="text" placeholder="{{ 'THEME_LEARN2_SEARCH_DOCUMENTATION'|t }}"
data-search-input="{{ base_url_relative }}/search.json/query"/>
<span data-search-clear><i class="fa fa-close"></i></span>
</div>
{% include 'partials/langswitcher.html.twig' %}