<?php
/**
 * Search form.
 *
 * @package HaPantheon
 */
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
	<label>
		<span class="screen-reader-text"><?php esc_html_e( 'חיפוש:', 'hapantheon' ); ?></span>
		<input type="search" class="search-field" placeholder="<?php esc_attr_e( 'חיפוש בארכיון…', 'hapantheon' ); ?>" value="<?php echo get_search_query(); ?>" name="s">
	</label>
	<button type="submit" class="search-submit">
		<?php echo hapantheon_icon( 'search' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
		<span><?php esc_html_e( 'חיפוש', 'hapantheon' ); ?></span>
	</button>
</form>
