@extends('Admin.layout') @section('pagetitle',__('trans.Edit Product')) @push('js') @endpush @section('content')
@csrf @method('PUT')
@if (count($Product->images) > 0) @if($Product->images->whereNotNull('color_id')->count()) @endif @foreach ($Product->images->sortBy('arrangement') as $key => $image) @if($Product->images->whereNotNull('color_id')->count()) @endif @endforeach
# @lang('trans.main_image') @lang('trans.images')@lang('trans.color')
{{ $key + 1 }} main ? 'checked' : '' }} type="radio" name="ImageStatus" value="{{ $image['id'] }}"> {{ $image->color?->title() }}
@endif @include('Admin.MultiSelect') @endsection