<?php
/**
 * @var $term_search
 * @var $icon
 */
?>

<div class="mobile-service-search">

	<form method="get" action="<?php echo wpj_get_main_search_url(); ?>">

		<div class="search-input">

			<input type="text" id="responsive-search" name="term" autocomplete="off" value="<?php if ( ! empty( $term_search ) ) echo htmlspecialchars( $term_search ); ?>" placeholder="<?php _e( 'Search', 'wpjobster' ); ?>" />

		</div>

		<div class="search-icon-wrapper js-search-icon-wrapper">

			<i class="<?php echo $icon; ?> icon"></i>

		</div>

	</form>

</div>