@extends('admin.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('admin.partials.rtl-style') @section('content')
{{ __('States') }}
@includeIf('admin.partials.languages')
{{--
--}} {{--
--}}
{{ __('Add') }}
@if (count($countries) == 0)

{{ __('NO COUNTRIES FOUND') }}

@else
@foreach ($countries as $country) @endforeach
{{ __('Name') }} {{ __('Actions') }}
{{ strlen($country?->name) > 50 ? mb_substr($country?->name, 0, 50, 'UTF-8') . '...' : $country?->name }} getContent($lang->id); @endphp data-{{ $lang->code }}_name="{{ $counContent?->name }}" @endforeach
@csrf
@endif
{{ $countries->appends(['name' => request()->input('name'),'language'=>request()->input('language')])->links() }}
{{-- create modal --}} @include('admin.property-management.country.create') {{-- edit modal --}} @include('admin.property-management.country.edit') @endsection