<?php
/**
 * @var $display_title
 * @var $icon
 */

if ( $display_title == 'yes' ) { ?>

	<h4><?php _e( 'Search for a service', 'wpjobster' ); ?></h4>

<?php } ?>

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

	<form class="hd-basic-search" method="get" action="<?php echo wpj_get_main_search_url(); ?>">

		<div class="ui large fluid input w100">

			<div class="ui left icon input flex-master w100 js-autocomplete-search">

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

				<input type="text" placeholder="<?php _e( 'Enter keyword', 'wpjobster' ); ?>" name="term" />

			</div>

		</div>

	</form>

</div>