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.
|
|
@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="/grains">Grain List</a> -> {{ __('Grain Card') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div>
<div class="card-body"> <h2>{{$grain->name}}</h2> <section id="grain_card" class="container"> <div class="row"> <div class="infopanel col-sm-4">Flavour</div> <div class="infopanel col-sm-8">{{$grain->flavour}}</div> </div> <div class="row"> <div class="infopanel col-sm-4">Colour</div> <div class="infopanel col-sm-8">{{$grain->colour}}</div> </div> <div class="row"> <div class="infopanel col-sm-4">EBC</div> <div class="infopanel col-sm-8">{{$grain->ebc}}</div> </div> <div class="row"> <div class="infopanel col-sm-4">Lovibond</div> <div class="infopanel col-sm-8">{{$grain->lovibond}}</div> </div> <div class="row"> <div class="infopanel col-sm-4">Lintner</div> <div class="infopanel col-sm-8">{{$grain->lintner}}</div> </div> <div class="row"> <div class="infopanel col-sm-4">Windisch-Kolbach</div> <div class="infopanel col-sm-8">{{$grain->winkol}}</div> </div> </section> <hr/> <table class="table table-striped table-dark" id="table-programs"> <thead> <tr><th scope="col" colspan="2">Used in</th></tr> <tr> <th scope="col">Brewery</th> <th scope="col">Beer</th> </tr> </thead>
<tbody> @foreach ($grainadditions as $grains) <tr> <td><a href="/brewery/{{$grains->breweryID}}">{{$grains->brewery}}</a> </td> <td><a href="/beer/{{$grains->beer_id}}">{{$grains->beer}}</a> </td> </tr> @endforeach </tbody> </table>
</div> </div> </div> </div> </div>
@endsection
|