Post
{{ session('success') }}
@endif
S.NO | User Name | {{--Description | --}}Image | Created At | Updated At | Edit | Delete |
---|---|---|---|---|---|---|---|
{{ $post->id ?? 'N/A' }} | {{ $post->user->name ?? 'N/A' }} | {{--{{ strip_tags($post->description) ?? 'N/A' }} | --}} @php $imagePath = $post->image ?? 'images/default.png'; @endphp
@if (!empty($post->image))
|
{{ $post->created_at ?? 'N/A' }} | {{ $post->updated_at ?? 'N/A' }} | Edit | Delete |