@extends('breweries.show.layout') @section('brewery_content')
{{ trans('breweries.beers_from_same_brewery') }}
@forelse($beers as $beer)
{{--@if(Auth::check() && !$beer->likes->contains(Auth::user()->id))--}} {{--
--}} {{----}} {{--
--}} {{----}} {{--@else--}} {{----}} {{--
--}} {{--
--}} {{-- {{ trans('socialite::common.liked') }}--}} {{--
--}} {{--
--}} {{--@endif--}} @if(Auth::check()) @if(!$beer->likes->contains(Auth::user()->id)) @else @endif @endif

@empty {{ trans('breweries.no_beers') }} @endforelse
@endsection {{--

{{ trans('breweries.beers_from_same_brewery') }}

@forelse($beers as $beer)
{{ $beer->name }}
{{ $beer->colorTranslated }} - {{ $beer->typeTranslated }}
@if(Auth::check() && !$beer->likes->contains(Auth::user()->id))
@else
{{ trans('socialite::common.liked') }}
@endif
@empty {{ trans('breweries.no_beers') }} @endforelse
--}}