@extends('admin.layouts.app') @section('title', 'Countries') @section('page-title', 'Countries') @section('content') {{-- Header bar --}}

All Countries

{{ $countries->total() }} {{ Str::plural('country', $countries->total()) }} total

Add Country
{{-- Search --}}
@if(request('search')) Clear @endif
{{-- Table --}}
@if($countries->isEmpty())

No countries found.

Add your first country →
@else @foreach($countries as $country) {{-- Name + flag --}} {{-- Slug --}} {{-- Status toggle --}} {{-- Sort --}} {{-- Actions --}} @endforeach
Country Actions
@if($country->flag_image) {{ $country->name }} flag @else
🏳
@endif

{{ $country->name }}

@if($country->short_description)

{{ Str::limit($country->short_description, 60) }}

@endif
@csrf @method('DELETE')
{{-- Pagination --}} @if($countries->hasPages())
{{ $countries->links() }}
@endif @endif
@endsection @push('scripts') @endpush