@extends('super_admins.layouts.master') @section('title') Edit Clinic Category @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif Clinic Main Category Home Clinic Main Categories Edit Clinic Main Category @csrf @method('PUT') Multi Language @foreach ($active_languages as $key => $language) {{ $language->name }} @endforeach @foreach ($active_languages as $key => $language) Name ({{$language->code}}) @if ($errors->has('name.'.$language->code)) {{ $errors->first('name.'.$language->code) }} @endif Description ({{$language->code}}) {{ $clinic_main_category->getTranslation('description', $language->code); }} @if ($errors->has('description.'.$language->code)) {{ $errors->first('description.'.$language->code) }} @endif @endforeach Choose Picture @if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($clinic_main_category->image) @else -- No Image Selected @endif Choose Icon @if ($errors->has('icon')) {{ $errors->first('icon') }} @endif @if ($clinic_main_category->icon) @else -- No Image Selected @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select Category To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Feature is_featured) checked @endif class="custom-control-input" id="customSwitch2" aria-describedby="IsActiveError" aria-invalid="true"> Select Category To Be Featured Or Not {{-- @if ($errors->has('is_featured')) {{ $errors->first('is_featured') }} @endif --}} Update @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection