From 34df0fd02a01cb14ade3ce1c9899225513ec25fc Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 24 Jun 2021 16:33:56 +0100 Subject: [PATCH] first iteration of search functionality - likely to fail hard --- resources/views/search/results.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/search/results.blade.php b/resources/views/search/results.blade.php index d01b7b5..9013470 100644 --- a/resources/views/search/results.blade.php +++ b/resources/views/search/results.blade.php @@ -113,8 +113,8 @@ @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 @endif @endforeach - {{$result->boil}}m boil with hop additions at @foreach($result->hopadditions as $hopaddition) {{$hopaddition->timing}} @endforeach + @foreach($result->mashes as $mash) Stage: {{$mash['stage']}} at {{$mash['temp']}}°C @if($mash['duration']) for {{$mash['duration']}}m @endif
@endforeach + {{$result->boil}}m boil with hop additions at:
@foreach($result->hopadditions as $hopaddition) {{$hopaddition->timing}} @endforeach Fermentation stuff @endforeach