liebling/partials/search.hbs
2019-08-17 20:34:39 +02:00

22 lines
877 B
Handlebars

{{!--
This search template is used to display the search form.
You need to create a custom integration first to get a Content API key and then
follow the instructions to enable the search feature.
--}}
<div class="m-search js-search">
<button class="m-icon-button outlined as-close-search js-close-search" aria-label="Close search">
<span class="icon-close"></span>
</button>
<div class="m-search__content">
<form class="m-search__form">
<fieldset>
<span class="icon-search m-search-icon"></span>
<input type="text" class="m-input in-search js-input-search" placeholder="{{t "Type to search"}}" aria-label="Type to search">
</fieldset>
</form>
<div class="js-search-results hide"></div>
<p class="m-no-found align-center hide js-no-results">{{t "No results for your search, try something different."}}</>
</div>
</div>