feat(search): use a button element (#2943)
This is trivial. The only real benefit is that it might be easier to add an icon and easier to style.
This commit is contained in:
@@ -6,16 +6,11 @@
|
||||
|
||||
<input
|
||||
type="search"
|
||||
class=""
|
||||
placeholder="{!! esc_attr_x('Search …', 'placeholder', 'sage') !!}"
|
||||
value="{{ get_search_query() }}"
|
||||
name="s"
|
||||
>
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="submit"
|
||||
class=""
|
||||
value="{{ esc_attr_x('Search', 'submit button', 'sage') }}"
|
||||
>
|
||||
<button>{{ _x('Search', 'submit button', 'sage') }}</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user