@forelse ($posts as $post)
@php
$existVote = @$post->votes?->where('user_id', auth()->id())->first();
$individual = @$post
->comments()
->where('post_id', $post->id)
->latest()
->first();
@endphp
- {{ showDateTime(@$post->created_at, 'd M, Y h:i A') }}
{{ diffForHumans($post->created_at) }}
- |
- By {{ __(@$post->user?->name) }}
- Posted in theredpillportfolio
{{ __(@$post->title) }}
{!! substr(strip_tags($post->content), 0, 190) !!}
Reply from admin: {{ @$individual->comment }}
@if (in_array($post->id, $answeredQuestionIds))
admin provided you with general response please click here to review it
@endif
@empty
no data found
@endforelse