|
|
@ -72,6 +72,7 @@ |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
<div role="tabpanel" class="tab-pane fade" id="ingredients" aria-labelledby="ingredients-tab"> |
|
|
|
{{ var_dump($results)}} |
|
|
|
<table class="table table-striped table-dark" id="table-programs"> |
|
|
|
<!-- This piece of code is for error messages display purposes --> |
|
|
|
@include('inc.messages') |
|
|
@ -86,7 +87,6 @@ |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
@foreach ($results as $result) |
|
|
|
{{ print_r($result->grains)}} |
|
|
|
<tr> |
|
|
|
<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><br/>@endforeach</td> |
|
|
|