Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / searchform.php
1 <?php
2 /**
3  * The template for displaying search forms in Twenty Eleven
4  *
5  * @package WordPress
6  * @subpackage Twenty_Eleven
7  * @since Twenty Eleven 1.0
8  */
9 ?>
10         <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
11                 <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
12                 <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
13                 <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
14         </form>