@extends('admin.layouts.app') @section('title', 'Emergency Categories') @section('content')
{{-- Page Header --}}
Safety & Pilgrim Aid

Emergency Contact Categories {{ count($categories) }}

Options for the Emergency Category selector in Sacred Sthals & Places. Keys are immutable once referenced.

Sacred Places
{{-- Alerts --}} @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
@endif {{-- Add Category Form Card --}}

Add Emergency Category

@csrf
{{-- Categories Table Card --}}
@forelse($categories as $cat) @csrf @method('PUT') @empty @endforelse
Key Display Label In Use Active Status Actions
{{ $cat->key }} {{ $usage[$cat->key] ?? 0 }}
@csrf @method('DELETE')
No emergency categories configured yet.
@endsection