@forelse ($forums as $item)
{{ $item->user->name }}
{{ $item->user->name }} {{ $item->created_at->format('M d, Y') }} @if($item->replies_count > 0) {{ $item->replies_count }} @endif
@if($item->description) @php $cleaned = html_entity_decode(strip_tags($item->description)); $limitedDescription = Str::limit($cleaned, 100); @endphp

{!! nl2br(e($limitedDescription)) !!}

@endif
@if($item->created_by == user()->id || user_can('Update Forum')) @lang('app.edit') @endif @lang('app.view') @if($item->created_by == user()->id || user_can('Delete Forum')) @lang('app.delete') @endif
@empty
@lang('messages.noForumFound')
@endforelse
{{ $forums->links() }}
{{ __("modules.forum.editForum") }} @if ($editForum) @livewire('forms.editForum', ['forum' => $editForum], key(str()->random(50))) @endif {{ __('app.close') }} @lang('modules.forum.deleteForum')? @lang('messages.deleteMessage') {{ __('app.cancel') }} @if ($deleteForum) {{ __('app.delete') }} @endif