Suchbox

tmp.searchbox = COA_INT
tmp.searchbox {
	wrap = | </div></form>

	10 = TEXT
	10 {
		typolink {
			parameter = 14
			additionalParams = &tx_indexedsearch_pi2[action]=search&tx_indexedsearch_pi2[controller]=Search
			useCacheHash = 1
			returnLast = url
		}
		wrap = <form action="|" method="post" id="search-block-form" class="form-search"><input type="hidden" name="tx_indexedsearch_pi2[search][languageUid]" value="0" /><div class="searchfield">
	}	
	
	20 = COA
	20 {
		10 = TEXT
		10.data = GPvar : tx_indexedsearch |sword
		10.wrap ( 
			<input class="form-control" type="text" name="tx_indexedsearch_pi2[search][sword]" id="tx-indexedsearch-searchbox-sword" placeholder="Suche" />
		)
		
		20 = COA
		20 {			
			10 = TEXT
			10.value = <span class="searchbox-button"><button id="btn-search" type="submit" class="btn btn-default btn-primary"><span class="icon glyphicon glyphicon-search" aria-hidden="true"></span></button></span>
		}
	}
}