Form.html 1.07 KB
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
Markus Sommer's avatar
Markus Sommer committed
2
3
      xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
      xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
Thomas Löffler's avatar
Thomas Löffler committed
4
5
6

<f:section name="Form">

7
8
9
10
11
12
13
14
    <div class="container">
        <div class="tx-solr-search-form mt-5 mb-5">
            <s:searchForm id="tx-solr-search-form-pi-results" class="" additionalFilters="{additionalFilters}">
                <input type="hidden" name="L" value="{languageUid}" />
                <input type="hidden" name="id" value="{pageUid}" />
                <div class="input-group input-group-lg">
                    <input type="text" class="form-control" placeholder="Search for extensions, tags, author..." name="tx_solr[q]" value="{q}">
                    <span class="input-group-btn">
Markus Sommer's avatar
Markus Sommer committed
15
16
17
                    <button type="submit" class="btn btn-primary" type="button">
                        <s:translate key="submit" default="Search" />
                    </button>
18
                </span>
19
20
21
                </div>
            </s:searchForm>
        </div>
22
    </div>
Thomas Löffler's avatar
Thomas Löffler committed
23
24

</f:section>