{{-- Card Header --}}

Posted by: {{ $item->submitter_name }}

Posted {{ $item->created_at->format('M j, Y') }}

@if($item->category) {{ $item->category->emoji }} {{ $item->category->name }} @endif
{{-- Card Body --}}

"{{ $item->text }}"

{{-- Expiry bar --}} @if($item->expires_at)
⏰ Expires in: {{ $item->days_remaining }} days
@endif {{-- Participant counts --}}

Members

{{ $item->member_count }}

Guests

{{ $item->guest_count }}

Anonymous

{{ $item->anonymous_count }}

Total: {{ $item->total_participant_count }} people praying

@php $userId = Auth::id(); $hasLifted = App\Models\PrayerParticipant::where('prayer_id', $item->id) ->where('user_id', $userId) ->exists(); @endphp @if($hasLifted==0) @include('theme::_lift_prayer_btn', ['item' => $item]) @endif