{{-- AJAX partial: Active prayers --}}
@include('partials.message') @forelse($prayers as $prayer)
{{-- Header --}}
{{ strtoupper(substr($prayer->submitter_name, 0, 1)) }}
{{ $prayer->submitter_name }} @if($prayer->is_pinned) 📌 Pinned @endif
Posted {{ $prayer->created_at->format('M j, Y') }}
@if($prayer->approver)
✓ Approved by {{ $prayer->approver->name }}
@endif
@if($prayer->category) {{ $prayer->category->emoji }} {{ $prayer->category->name }} @endif 🟢 ACTIVE
{{-- Body --}}

{{ $prayer->text }}

{{-- Expiry bar --}} @if($prayer->expires_at)
⏰ Expires in: {{ $prayer->days_remaining }} days

Expires {{ $prayer->expires_at->format('M j, Y') }}

@endif {{-- Participant counts --}}

Members

{{ $prayer->member_count }}

Guests

{{ $prayer->guest_count }}

Anon

{{ $prayer->anonymous_count }}

{{-- Actions --}}
@if($prayer->is_pinned) @else @endif
@empty
🙏

No active prayers

@endforelse @if($prayers->hasPages())
{{ $prayers->links() }}
@endif
{{-- Mark Answered modal --}} {{-- Extend modal --}}