1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-01-17 21:28:30 +01:00

Make search query required for the dashboard search box (#278)

This commit is contained in:
Kovah 2021-06-06 12:27:17 +02:00
parent 0e4a3fdb7c
commit 7d9bd55d35
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B

View File

@ -60,7 +60,8 @@
<input type="hidden" name="search_description" value="on">
<div class="input-group">
<input type="text" name="query" id="query" autofocus
<label for="query" class="sr-only">@lang('search.query')</label>
<input type="text" name="query" id="query" autofocus required minlength="1"
class="form-control" placeholder="@lang('search.query')">
<div class="input-group-append">
<button class="btn btn-primary" type="submit">