2019-12-06 23:37:39 +00:00
|
|
|
{{!
|
2020-05-29 19:07:55 +00:00
|
|
|
See @typedef SearchData
|
2019-12-06 23:37:39 +00:00
|
|
|
}}
|
2021-09-29 12:06:07 +00:00
|
|
|
<div{{#is-primary}} id="p-search"{{/is-primary}} role="search" class="{{class}} vector-search-box">
|
2022-04-13 19:53:46 +00:00
|
|
|
{{#is-collapsible}}
|
2023-04-25 16:53:19 +00:00
|
|
|
{{#data-collapsed-search-button}}
|
2022-04-13 19:53:46 +00:00
|
|
|
{{>Button}}
|
2023-04-25 16:53:19 +00:00
|
|
|
{{/data-collapsed-search-button}}
|
2022-04-13 19:53:46 +00:00
|
|
|
{{/is-collapsible}}
|
2023-05-24 19:39:52 +00:00
|
|
|
<div class="vector-typeahead-search-container">
|
|
|
|
<div class="cdx-typeahead-search{{#is-thumbnail}} cdx-typeahead-search--show-thumbnail{{/is-thumbnail}}{{#is-auto-expand}} cdx-typeahead-search--auto-expand-width{{/is-auto-expand}}">
|
|
|
|
<form action="{{form-action}}" id="{{form-id}}" class="cdx-search-input cdx-search-input--has-end-button">
|
|
|
|
<div {{#is-primary}}id="simpleSearch"{{/is-primary}} class="cdx-search-input__input-wrapper" {{#input-location}} data-search-loc="{{.}}"{{/input-location}}>
|
|
|
|
<div class="cdx-text-input cdx-text-input--has-start-icon">
|
|
|
|
<input
|
|
|
|
class="cdx-text-input__input"
|
|
|
|
{{#is-primary}}{{{html-input-attributes}}} id="searchInput"{{/is-primary}}
|
2023-07-05 17:19:37 +00:00
|
|
|
{{^is-primary}}type="search" name="search" placeholder="{{msg-searchsuggest-search}}"{{/is-primary}}>
|
2023-05-24 19:39:52 +00:00
|
|
|
<span class="cdx-text-input__icon cdx-text-input__start-icon"></span>
|
|
|
|
</div>
|
|
|
|
<input type="hidden" name="title" value="{{page-title}}">
|
|
|
|
</div>
|
|
|
|
<button class="cdx-button cdx-search-input__end-button">{{msg-searchbutton}}</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2021-06-02 22:57:43 +00:00
|
|
|
</div>
|
2019-11-20 19:43:07 +00:00
|
|
|
</div>
|