Browse Source

first iteration of search functionality - likely to fail hard

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

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

@ -88,7 +88,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->grains as $grain)<a href="/grain/{{$grain['id']}}">{{$grain['name']}}</a> {{grain['amount']}}({{grain['grain_bill']}}%)<br/> @endforeach</td>
<td class="hideable">@foreach($result->grains as $grain)<a href="/grain/{{$grain['id']}}">{{$grain['name']}}</a> {{$grain['amount']}}({{$grain['grain_bill']}}%)<br/> @endforeach</td>
<td class="hideable">Hops </td> <td class="hideable">Hops </td>
<td class="hideable">Yeasts </td> <td class="hideable">Yeasts </td>
<td class="hideable">Asjuncts </td> <td class="hideable">Asjuncts </td>

Loading…
Cancel
Save