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.
39 lines
1.1 KiB
39 lines
1.1 KiB
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-8">
|
|
<div class="card">
|
|
@include('inc.navbar')
|
|
|
|
<div class="card-header"><a href="/home">Home</a> -> <a href="/adjuncts">Adjunct List</a> -> {{ __('Adjunct Card') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div>
|
|
|
|
<div class="card-body">
|
|
<h2>{{$adjunct->name}}</h2>
|
|
<table class="table table-striped table-dark" id="table-programs">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Brewery</th>
|
|
<th scope="col">Beer</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach ($adjunctadditions as $adjuncts)
|
|
<tr>
|
|
<td><a href="/brewery/{{$adjuncts->breweryID}}">{{$adjuncts->brewery}}</a> </td>
|
|
<td><a href="/beer/{{$adjuncts->beer_id}}">{{$adjuncts->beer}}</a> </td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@endsection
|