@extends('layouts.admin') @section('content')
States
@can('state-create') New state @endcan
@include('partials.backend.filter', ['model' => route('admin.states.index')])
@forelse($states as $state) @empty @endforelse
State Cities count Country Status Action
{{ $state->name }} {{ $state->cities->count() }} {{ $state->country->name }} {{ $state->active }}
@csrf @method('DELETE')
No states found.
{!! $states->appends(request()->all())->links() !!}
@endsection