検索ボックスにとりあえずrequiredを付けた
This commit is contained in:
parent
874e88cc56
commit
5bb44ab232
@ -46,7 +46,7 @@
|
||||
</ul>
|
||||
<form action="{{ stripos(Route::currentRouteName(), 'search') === 0 ? route(Route::currentRouteName()) : route('search') }}" class="form-inline mr-2">
|
||||
<div class="input-group">
|
||||
<input type="search" name="q" class="form-control" placeholder="検索..." value="{{ stripos(Route::currentRouteName(), 'search') === 0 ? $inputs['q'] : '' }}">
|
||||
<input type="search" name="q" class="form-control" placeholder="検索..." value="{{ stripos(Route::currentRouteName(), 'search') === 0 ? $inputs['q'] : '' }}" required>
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-secondary" type="submit"><span class="oi oi-magnifying-glass" aria-hidden="true"></span><span class="sr-only">検索</span></button>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user