@extends('admin.layout.main') @section('content')

@if(isset($country)) Edit @else Add @endif Country Management

@csrf @if(isset($country)) @method('PUT') @endif
@if(is_object($countries) && count($countries) > 0) @foreach($countries as $country_val) @endforeach @endif @if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('phonecode'))
{{ $errors->first('phonecode') }}
@endif
@if ($errors->has('phonecodedigit'))
{{ $errors->first('phonecodedigit') }}
@endif
phonecodestatus == 1) checked @endif @endif > @if ($errors->has('phonecodestatus'))
{{ $errors->first('phonecodestatus') }}
@endif
@endsection @section('js') @endsection