Browse Source

first iteration of search functionality - likely to fail hard

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

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

@ -72,6 +72,7 @@
</table>
</div>
<div role="tabpanel" class="tab-pane fade" id="ingredients" aria-labelledby="ingredients-tab">
{{ print_r($result->grains)}}
<table class="table table-striped table-dark" id="table-programs">
<!-- This piece of code is for error messages display purposes -->
@include('inc.messages')
@ -88,7 +89,6 @@
@foreach ($results as $result)
<tr>
<td><a href="/beer/{{$result->beer_id}}">{{$result->name}}</a> </td>
<td>{{$result->abv}} </td>
<td class="hideable">@foreach ($result->grains as $grain) <a href="/grain/{{$grain->id}}">{{$grain->name}}</a><br/>@endforeach</td>
<td class="hideable">Hops </td>
<td class="hideable">Yeasts </td>

Loading…
Cancel
Save