@extends('beers') @section('main')
@include('inc.navbar') @include('search.index')
Home -> {{ __('Beer List') }}Go Back
@if (Auth::user()->isAdmin()) Add Beer
@endif @include('inc.messages') @if (Auth::user()->isAdmin())@endif @foreach ($beers as $beer) @if (Auth::user()->isAdmin()) @endif @endforeach
Name Brewery StyleAdmin
{{$beer->name}} {{$beer->brewery}} {{$beer->type}} Edit
@csrf @method('DELETE')
@endsection