@include('partials.menu')
eurowizjatop.pl: {{ $news->title }}
@if ($news->image)
@endif
{!! $news->description !!}
@auth
Komentarze
@csrf
Dodaj
@else
Aby dodać komentarz, zaloguj się.
@endauth @if ($news->comments->count() > 0)
Lista komentarzy
@foreach ($news->comments as $comment)
{{ $comment->created_at->format('d:m:Y') }} {{ \Carbon\Carbon::parse($comment->created_at)->format('H:i') }} {{ $comment->user->name }} : {{ $comment->content }} @if (Auth::check() && Auth::user()->isAdmin())
@csrf @method('DELETE')
Usuń
@endif @endforeach
@else
Brak komentarzy.
@endif
@include('partials.footer')
@endif @endforeach