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:
Nathan Knowler
2022-01-11 10:05:35 -06:00
committed by GitHub
parent 90c9fe1da8
commit 4281ffff90

View File

@@ -6,16 +6,11 @@
<input <input
type="search" type="search"
class=""
placeholder="{!! esc_attr_x('Search &hellip;', 'placeholder', 'sage') !!}" placeholder="{!! esc_attr_x('Search &hellip;', '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>