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

SEO META


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