You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.7 KiB
59 lines
1.7 KiB
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-12">
|
|
<div class="card">
|
|
@include('inc.navbar')
|
|
<div class="card-header"><a href="/home">Home</a> -> <a href="/breweries">Brewery List</a> -> {{__('Brewery Sheet') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div>
|
|
|
|
<div class="card-body">
|
|
@foreach ($breweries as $brewery)
|
|
<h2>{{$brewery->name}}</h2>
|
|
|
|
<table class="table table-striped table-dark" id="table-programs">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">City\Region</th>
|
|
<th scope="col">Country</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>{{$brewery->place}} </td>
|
|
<td>{{$brewery->country}} </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
@endforeach
|
|
<table class="table table-striped table-dark" id="table-programs">
|
|
<thead>
|
|
<tr><th scope="col" colspan="3"><h4>Beers</h4></th></tr>
|
|
<tr>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Style</th>
|
|
<th scope="col">ABV %</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach ($beers as $beer)
|
|
<tr>
|
|
<td><a href="/beer/{{$beer->beer_id}}">{{$beer->name}}</a> </td>
|
|
<td>{{$beer->type}} </td>
|
|
<td>{{$beer->abv}} </td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@endsection
|