<?php
/**
 * The template for displaying search forms.
 *
 * @package Eronex
 * @since 0.0.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
	<label>
		<span class="screen-reader-text"><?php echo esc_html__( 'Search', 'eronex' ); ?></span>
		<input type="search" class="search-field" placeholder="<?php echo esc_attr__( 'Search...', 'eronex' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" />
	</label>
	<button type="submit" class="search-submit"><i class="hi hi-magnifying-glass" aria-hidden="true"></i></button>
</form>
