@extends('backend.layouts.app') @section('title') {{ __('post_list') }} @endsection @section('content')

{{ __('state_list') }}

@if (userCan('post.create'))  {{ __('create_state') }} @endif
@if (userCan('post.edit') || userCan('post.delete')) @endif @if ($states->count() > 0) @foreach ($states as $state) @if (userCan('post.update') || userCan('post.delete')) @endif @endforeach @else @endif
{{ __('state') }} {{ __('country') }} {{ __('actions') }}
{{ $state->name }} {{ Str::ucfirst($state->country->name) }} @if (userCan('post.update')) @endif @if (userCan('post.delete'))
@method('DELETE') @csrf
@endif
{{ __('no_data_found') }}
@if (request('perpage') != 'all' && $states->total() > $states->count()) @endif
@endsection @section('style') @endsection @section('script') @endsection