Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
cbc8f020ab
  1. 2
      resources/views/search/results.blade.php

2
resources/views/search/results.blade.php

@ -113,7 +113,7 @@
@foreach ($results as $result) @foreach ($results as $result)
<tr> <tr>
<td><a href="/beer/{{$result->beer_id}}">{{$result->name}}</a> </td> <td><a href="/beer/{{$result->beer_id}}">{{$result->name}}</a> </td>
<td class="hideable">@foreach{{$result->mashes as $mash)Stage: {{$mash['stage']}} at {{$mash['temp']}}°C @if($mash['duration'])for {{$mash['duration']}}m@endforeach</td>
<td class="hideable">@foreach($result->mashes as $mash) Stage: {{$mash['stage']}} at {{$mash['temp']}}°C @if($mash['duration']) for {{$mash['duration']}}m @endforeach</td>
<td class="hideable">{{$result->boil}}m boil with hop additions at @foreach($result->hopadditions as $hopaddition) {{$hopaddition->timing}} @endforeach</td> <td class="hideable">{{$result->boil}}m boil with hop additions at @foreach($result->hopadditions as $hopaddition) {{$hopaddition->timing}} @endforeach</td>
<td class="hideable">Fermentation stuff</td> <td class="hideable">Fermentation stuff</td>
</tr> </tr>

Loading…
Cancel
Save