From ac0add162067117ef17d97019ee95e751fcea222 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 24 Jun 2021 14:26:50 +0100 Subject: [PATCH] first iteration of search functionality - likely to fail hard --- resources/views/search/results.blade.php | 30 ++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/resources/views/search/results.blade.php b/resources/views/search/results.blade.php index 505c279..209be44 100644 --- a/resources/views/search/results.blade.php +++ b/resources/views/search/results.blade.php @@ -25,7 +25,7 @@ @sortablelink('name', 'Beer') Brewery - @sortablelink('type', 'Style') + Style @@ -71,7 +71,33 @@ -
+
+ + + @include('inc.messages') + + + + + + + + + + + @foreach ($results as $result) + + + + + + + + + @endforeach + +
@sortablelink('name', 'Beer')GrainsHopsYeastAdjuncts
{{$result->name}} {{$result->abv}} @foreach ($result->grains as $grain) {{$grain->name}}
@endforeach
Hops Yeasts Asjuncts
+
@endif