This commit is contained in:
Ludovic CANDELLIER
2022-06-14 22:24:24 +02:00
parent 32044118f3
commit 9710a7017a
4 changed files with 21 additions and 6 deletions

View File

@@ -1,8 +1,16 @@
<form method="get" action="{{ route('Shop.Searches.search') }}" id="search-general">
<form method="method" action="{{ route('Shop.Searches.search') }}" id="search-general">
<div class="input-group">
<div class="input-group-prepend">
@include('components.form.select', ['name' => 'type', 'list' => ['Semences & Plants'] ])
@include('components.form.select', [
'name' => 'product_type',
'list' => [
'botanic' => 'Semences & Plants',
'merchandise' => 'Marchandises',
],
'value' => $search['product_type'] ?? null,
])
</div>
<input type="text" name="search" value="{{ $search['search'] ?? null }}" class="form-control search-btn" aria-label="Chercher">
<div class="input-group-append">