@extends('layouts.admin') @section('content')
Admin Note: Use this page to manage sermons on the public sermons page. Keep this section updated so visitors can easily access recent teachings.
"Preach the word; be ready in season and out of season." — 2 Timothy 4:2
Showing {{ $sermons->total() }} result{{ $sermons->total() === 1 ? '' : 's' }}@if($q) for "{{ $q }}"@endif.
@endif @if($sermons->count() > 0)| Title | Preacher | Passage | Date | Actions |
|---|---|---|---|---|
| {{ $sermon->title }} | {{ $sermon->preacher }} | {{ $sermon->main_reading }} | {{ \Carbon\Carbon::parse($sermon->sermon_date)->format('j F Y') }} | @include('partials.admin-actions', ['actions' => [ ['type' => 'modal', 'label' => 'View', 'icon' => 'fa-eye', 'target' => '#sermonModal-'.$sermon->id], ['type' => 'link', 'label' => 'Edit', 'icon' => 'fa-pen', 'url' => route('admin.sermons.edit', $sermon)], ['type' => 'form', 'label' => 'Delete', 'icon' => 'fa-trash', 'url' => route('admin.sermons.delete', $sermon), 'method' => 'DELETE', 'danger' => true, 'confirm' => ['title' => 'Delete Sermon?', 'message' => 'This will permanently remove this sermon. This cannot be undone.', 'confirmText' => 'Yes, Delete']], ]]) |
No sermons match your search. Try different keywords or clear the filter.
Clear Filter @elseThere are currently no sermons in the system. Once sermons are added, they will appear here and on the public sermons page.
Add the First Sermon @endif