@extends('super_admins.layouts.master') @section('title') Edit State @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif

State

@csrf @method('PUT')
@if (isset($countries))
@if ($errors->has('country_id')) {{ $errors->first('country_id') }} @endif
@endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($state->image)
{{ $state->name }}
@else
-- No Image Selected
@endif
@if ($errors->has('longitude')) {{ $errors->first('longitude') }} @endif
@if ($errors->has('latitude')) {{ $errors->first('latitude') }} @endif
is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true">
{{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}}
@include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection