1
0
mirror of https://github.com/typecho/typecho.git synced 2025-02-25 15:12:55 +01:00

Merge pull request from l2dy/master

for属性只对应id,给input补上id属性
This commit is contained in:
joyqi 2017-07-31 01:44:37 +08:00 committed by GitHub
commit 597ff5ec11

@ -47,7 +47,7 @@
<div class="site-search col-3 kit-hidden-tb">
<form id="search" method="post" action="<?php $this->options->siteUrl(); ?>" role="search">
<label for="s" class="sr-only"><?php _e('搜索关键字'); ?></label>
<input type="text" name="s" class="text" placeholder="<?php _e('输入关键字搜索'); ?>" />
<input type="text" id="s" name="s" class="text" placeholder="<?php _e('输入关键字搜索'); ?>" />
<button type="submit" class="submit"><?php _e('搜索'); ?></button>
</form>
</div>