Added an inventory search page

This commit is contained in:
2022-12-11 22:27:45 -05:00
parent 4c9d46f875
commit 421539f38c
5 changed files with 44 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<div class="row">
<div class="six columns">
<form action="/search" class="u-full-width">
<input id="search-field" class="u-full-width" type="text" placeholder="Search your inventory..." name="Search field">
<input id="search-field" class="u-full-width" type="text" placeholder="Search your inventory..." name="query" required <%= defined?(query) ? 'value="' + query + '"' : '' %>>
</form>
</div>
</div>