@section('style') @endsection

{{ __('dashboard.edit') . ' ' . $service->name }}

@csrf @method('PATCH')
@error('order')
{{ $message }}
@enderror
@error('parent_id')
{{ $message }}
@enderror

@error('image')
{{ $message }}
@enderror
@if ($service->image_path) @else

{{ __('dashboard.no_image') }}

@endif
@error('icon')
{{ $message }}
@enderror
@if ($service->icon_path) @else

{{ __('dashboard.no_icon') }}

@endif


{{ __('dashboard.ai_content_generation_with_ai') }}

{{ __('dashboard.ai_content_description') }}

{{ __('dashboard.service_description_help_text') }}

{{ __('dashboard.ai_image_generation') }}

{{ __('dashboard.ai_image_description') }}

{{ __('dashboard.image_description_help_text') }}
{{ __('dashboard.generated_images') }}

{{ __('dashboard.no_images_generated') }}


{{ __('dashboard.max_file_size_1mb') }} @error('service_images')
{{ $message }}
@enderror
@if (!empty($service->images) && $service->images->count() > 0)

{{ __('dashboard.current_images') }}
{{ __('dashboard.drag_drop_instructions') }}: {{ __('dashboard.drag_drop_description') }}
@foreach ($service->images as $key => $image)
⋮⋮
@endforeach
@endif

{{ __('dashboard.publish/unpublish') }}
status) ? 'checked' : '' }} />
{{ __('dashboard.show_in_home') }}
show_in_home) ? 'checked' : '' }} />
{{ __('dashboard.show_in_header') }}
show_in_header) ? 'checked' : '' }} />
{{ __('dashboard.show_in_footer') }}
show_in_footer) ? 'checked' : '' }} />

{{ __('dashboard.seo') }}

{{ __('dashboard.meta_robots') }} (index)
index) ? 'checked' : '' }} />
{{ __('dashboard.cancel') }}
@section('script') {{-- في نهاية ملف blade الخاص بك، استبدل كل الـ JavaScript بهذا: --}} {{-- إعداد المتغيرات العامة --}} @endsection