From cbc8f020abc41e26d51198d39face71c17ed48dc Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 24 Jun 2021 16:24:30 +0100 Subject: [PATCH] first iteration of search functionality - likely to fail hard --- resources/views/search/results.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/search/results.blade.php b/resources/views/search/results.blade.php index c56fdd8..f85742d 100644 --- a/resources/views/search/results.blade.php +++ b/resources/views/search/results.blade.php @@ -113,7 +113,7 @@ @foreach ($results as $result) {{$result->name}} - @foreach{{$result->mashes as $mash)Stage: {{$mash['stage']}} at {{$mash['temp']}}°C @if($mash['duration'])for {{$mash['duration']}}m@endforeach + @foreach($result->mashes as $mash) Stage: {{$mash['stage']}} at {{$mash['temp']}}°C @if($mash['duration']) for {{$mash['duration']}}m @endforeach {{$result->boil}}m boil with hop additions at @foreach($result->hopadditions as $hopaddition) {{$hopaddition->timing}} @endforeach Fermentation stuff