@extends('admin.layouts.app') @section('title', __('Admins')) @section('content')
@csrf @method('PUT')
@if (old('gallery') ?? count($service->gallery)) @php $ids = json_decode(old('gallery'), true); $gallery = old('gallery') ? \App\Models\Image::whereIn('id', $ids)->get() : $service->gallery; @endphp @if (count($gallery)) @foreach ($gallery as $image)
pathImage }}>
@endforeach @endif @endif
@error('image_default')
{{ $message }}
@enderror @error('images')
{{ $message }}
@enderror
@php if ($service->gallery) { foreach ($service->gallery as $image) { $listIds[] = $image->id; } } $gallery = @json_encode($listIds ?? []); @endphp

SEO META


{{-- --}}
status = true ? 'checked' : '' }}>
@endsection @section('javascript') @endsection