@extends('layouts.shell') @section('title', 'Cities') @section('subtitle', 'Each city belongs to one province. Inactive cities stay saved and hide from the app.') @section('actions') Provinces Add city @endsection @section('content')
@if ($provinceId !== '' || $search !== '') Clear @endif
Cities {{ $cities->total() }} total
@forelse ($cities as $city) @empty @endforelse
City Province Status
{{ $city->name }}
{{ $city->slug }}
{{ $city->province?->name ?? '—' }} @if ($city->is_active) Active @else Inactive @endif Edit
No cities yet.
{{ $cities->links() }}
@endsection