@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 Home States Edit State @csrf @method('PUT') @if (isset($countries)) Select Country : @if (count($countries) > 0) Select Country @foreach ($countries as $country) country_id == $country->id ? 'selected' : '' }}> {{ $country->name }} @endforeach @else No Country Exists @endif @if ($errors->has('country_id')) {{ $errors->first('country_id') }} @endif @endif Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Description {{ $state->description }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Image @if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($state->image) @else -- No Image Selected @endif Longitude @if ($errors->has('longitude')) {{ $errors->first('longitude') }} @endif Latitude @if ($errors->has('latitude')) {{ $errors->first('latitude') }} @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select State To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Update @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection