<|start_filename|>Resources/Private/Fusion/Content/SearchPlugin/Search/Search.html<|end_filename|>
{namespace neos=Neos\Neos\ViewHelpers}
{namespace ts=Neos\Fusion\ViewHelpers}
{namespace search=Neos\ContentRepository\Search\ViewHelpers}

<div{attributes -> f:format.raw()}>
    {searchForm -> f:format.raw()}

    <f:if condition="{searchQuery}">
    <search:widget.paginate query="{searchQuery}" as="results" configuration="{configuration}">
        {f:translate(id: 'searchShowingResults', package: 'Flowpack.SearchPlugin', arguments: '{0: results.accessibleCount, 1: totalSearchResults}')}
        <ts:render path="searchResultRenderer" context="{searchResults: results}"/>
    </search:widget.paginate>
    </f:if>
</div>
