@extends('layouts.app') @section('title', 'Country | DYSON LATAM') @section('content')
{{-- HEADER --}}
DYSON LATAM / ADMINISTRATION / CATALOGS

Country

Country catalog management

@if (in_array(auth()->user()->role, ['admin', 'editor'], true)) + New Country @endif
{{-- COUNTRY CARD --}}

Registered Countries

{{ $countries->count() }} countr{{ $countries->count() === 1 ? 'y' : 'ies' }}
@forelse ($countries as $country) @empty @endforelse
ID Country Actions
#{{ $country->id }}
{{ $country->name }}
@if (in_array(auth()->user()->role, ['admin', 'editor'], true)) Edit @endif @if (auth()->user()->role === 'admin')
@csrf @method('DELETE')
@endif
No countries registered.
@endsection