2021-04-17 00:26:33 +02:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
|
|
|
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
2021-04-17 21:20:54 +02:00
|
|
|
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
2021-04-17 00:26:33 +02:00
|
|
|
|
|
|
|
<f:section name="Form">
|
|
|
|
|
2021-04-17 21:20:54 +02:00
|
|
|
<div class="tx-meilisearch-search-form">
|
|
|
|
<s:searchForm id="tx-meilisearch-search-form-pi-results" additionalFilters="{additionalFilters}" suggestHeader="{s:translate(key:'suggest_header',default:'Top Results')}">
|
2021-04-17 00:26:33 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<f:for each="{existingParameters}" key="name" as="value">
|
|
|
|
<f:form.hidden name="{pluginNamespace}{name}" value="{value}" />
|
|
|
|
</f:for>
|
|
|
|
|
|
|
|
<f:if condition="{addPageAndLanguageId}">
|
|
|
|
<input type="hidden" name="L" value="{languageUid}" />
|
|
|
|
<input type="hidden" name="id" value="{pageUid}" />
|
|
|
|
</f:if>
|
|
|
|
|
2021-04-17 21:20:54 +02:00
|
|
|
<input type="text" class="tx-meilisearch-q js-meilisearch-q tx-meilisearch-suggest tx-meilisearch-suggest-focus form-control" name="{pluginNamespace}[q]" value="{q}" />
|
2021-04-17 00:26:33 +02:00
|
|
|
<span class="input-group-btn">
|
2021-04-17 21:20:54 +02:00
|
|
|
<button class="btn btn-default tx-meilisearch-submit" type="submit">
|
2021-04-17 00:26:33 +02:00
|
|
|
<span class=" glyphicon glyphicon-search"></span>
|
|
|
|
<span>
|
|
|
|
<s:translate key="submit">Search</s:translate>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</s:searchForm>
|
|
|
|
</div>
|
|
|
|
|
2021-04-17 21:20:54 +02:00
|
|
|
</f:section>
|