<?php
/**
 * @var $term
 * @var $post_type
 */
?>

<form action="<?php echo home_url( '/' ); ?>" method="get" class="general-search-form">

	<div class="ui left icon input form-field">

		<input type="text" name="s" placeholder="Search..." id="search" value="<?php echo $term; ?>" />

		<input type="hidden" name="post_type" value="<?php echo $post_type; ?>" />

		<i class="search icon"></i>

	</div>

	<input type="submit" class="text-button" value="Search" />

</form>