<?php
/**
 * The template use to print the search form where user search for documents.
 *
 * @package DoC8
 * @version 1.0.0
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit; // No direct access!
}
?>
<form method="get" class="document-search-form" action="<?php doc8_action_url(); ?>">
	<div class="search-box">
		<input type="text" name="search" class="search-input" autocomplete="off" value="<?php echo doc8_get_search_term(); ?>" placeholder="<?php _e( 'Search', 'docu' ); ?>" />
		<button type="submit" class="search-submit">
			<span class="screen-reader-text"><?php _e( 'Search documents', 'docu' ); ?></span>
			<span aria-label="hidden"><?php _e( 'Go', 'docu' ); ?></span>
		</button>
	</div>
</form>
