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

City

@csrf @method('PUT')
@if (isset($states))
@if ($errors->has('country_id')) {{ $errors->first('country_id') }} @endif
@endif @if (isset($states))
@if ($errors->has('state_id')) {{ $errors->first('state_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 ($city->image)
{{ $city->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