@extends('super_admins.layouts.master') @section('title') Edit Language @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif Language Home Languages Edit Language @csrf @method('PUT') Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Code @if ($errors->has('code')) {{ $errors->first('code') }} @endif Description {{ $language->description }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Language File @if ($errors->has('language_file')) {{ $errors->first('language_file') }} @endif Choose Picture @if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($language->image) @else -- No Image Selected @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select Language To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Default is_default) checked @endif class="custom-control-input" id="customSwitch2" aria-describedby="IsDefaultError" aria-invalid="true"> Select Language To Be Default Or Not {{-- @if ($errors->has('is_default')) {{ $errors->first('is_default') }} @endif --}} Update @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection