<?php
/**
  *
 * @package Eight_sec
 */
$ed_search_placeholder  = get_theme_mod('wp_generic_header_search_placeholder',__('Search...','wp-generic'));
$ed_search_button_text  = get_theme_mod('wp_generic_header_search_text',__('Search','wp-generic'));
 ?>
<div class="search-icon">
    <i class="fa fa-search"></i>
    <div class="ed-search">
     <form action="<?php echo esc_url( home_url( '/' ) ); ?>" class="search-form" method="get" role="search">
        <label>
            <span class="screen-reader-text"><?php esc_html_e('Search for:','wp-generic')?></span>
            <input type="search" title="<?php esc_attr_e('Search for:','wp-generic')?>" name="s" value="" placeholder="<?php echo esc_attr($ed_search_placeholder); ?>" class="search-field" />
        </label>
        <input type="submit" value="<?php echo esc_attr($ed_search_button_text); ?>" class="search-submit" />
     </form> 
    </div>
</div>