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
|
<input
|
||||||
type="search"
|
type="search"
|
||||||
class=""
|
|
||||||
placeholder="{!! esc_attr_x('Search …', 'placeholder', 'sage') !!}"
|
placeholder="{!! esc_attr_x('Search …', 'placeholder', 'sage') !!}"
|
||||||
value="{{ get_search_query() }}"
|
value="{{ get_search_query() }}"
|
||||||
name="s"
|
name="s"
|
||||||
>
|
>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<input
|
<button>{{ _x('Search', 'submit button', 'sage') }}</button>
|
||||||
type="submit"
|
|
||||||
class=""
|
|
||||||
value="{{ esc_attr_x('Search', 'submit button', 'sage') }}"
|
|
||||||
>
|
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user