<!-- home page search box tpl -->

<div class="{if $search_form|@count == 5}table{else}inline{/if}-mode">
	<form name="map-search-form" action="post" target="">{strip}
		{foreach from=$map_search_form item='item'}
			{include file='blocks'|cat:$smarty.const.RL_DS|cat:'fields_search_horizontal.tpl' fields=$item.Fields}
		{/foreach}

		<div class="search-form-cell submit">
			<div>
				<span></span>
				<div>
					<input type="submit" value="{$lang.search}" />
				</div>
			</div>
		</div>
	{/strip}</form>
</div>

<!-- home page search box tpl end -->