Works for friday & saturday

This commit is contained in:
Ludovic CANDELLIER
2022-05-29 00:46:04 +02:00
parent 352b109e87
commit 5b74c93b2e
44 changed files with 2023 additions and 79 deletions

View File

@@ -1,13 +1,22 @@
<form method="get" action="/recherche" id="search-general">
<form method="get" 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'] ])
</div>
<input type="text" class="form-control search-btn" aria-label="Text input with dropdown button">
<input type="text" name="search" value="{{ $search['search'] ?? null }}" class="form-control search-btn" aria-label="Chercher">
<div class="input-group-append">
<span class="input-group-text"><i class="fa fa-search"></i></span>
<span class="input-group-text"><i class="btn btn-sm fa fa-search"></i></span>
</div>
</div>
</form>
@push('js')
<script>
$(function() {
$('#search-general .fa-search').click(function() {
$('#search-general').submit();
});
});
</script>
@endpush