@if ($errors->any())
@foreach ($errors->all() as $error)
@endforeach
@endif
| id |
Comment |
User |
{{-- Post | --}}
Created_At |
Action |
@foreach($comments as $key => $comment)
| {{ $key+1 }} |
{{ $comment->comment }} |
{{ $comment->user->name }} |
{{-- | --}}
{{ $comment->created_at->diffForHumans() }} |
{{--
--}}
|
@endforeach
@foreach ($comments as $comment)
@endforeach
@endsection
@push('footer')
{!! Toastr::message() !!}
@endpush