Browse Source

first iteration of search functionality - likely to fail hard

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

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

@ -72,7 +72,6 @@
</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')
@ -89,7 +88,7 @@
@foreach ($results as $result)
<tr>
<td><a href="/beer/{{$result->beer_id}}">{{$result->name}}</a> </td>
<td class="hideable">@foreach($result->grains as $grains) print_r($grains) @foreach($grains as $grain) print_r($grain) @endforeach @endforeach</td>
<td class="hideable">@foreach($result->grains as $grains) {{print_r($grains)}} @foreach($grains as $grain) {{print_r($grain)}} @endforeach @endforeach</td>
<td class="hideable">Hops </td>
<td class="hideable">Yeasts </td>
<td class="hideable">Asjuncts </td>

Loading…
Cancel
Save