diff --git a/resources/views/Shop/Admin/Articles/partials/characteristics.blade.php b/resources/views/Shop/Admin/Articles/partials/characteristics.blade.php index 3d5a528a..51ee4df2 100644 --- a/resources/views/Shop/Admin/Articles/partials/characteristics.blade.php +++ b/resources/views/Shop/Admin/Articles/partials/characteristics.blade.php @@ -52,7 +52,7 @@
- @include('Shop.Admin.Articles.partials.product.images', ['name' => 'product_images']) + @include('Shop.Admin.Articles.partials.product.images') @include('components.uploader.widget', ['load_url' => route('Shop.Admin.Articles.getImages', ['id' => $article['id'] ?? false]), 'delete_url' => route('Shop.Admin.Articles.deleteImage'), 'title' => 'Photos', 'name' => 'images' ])
diff --git a/resources/views/Shop/Admin/Articles/partials/product/images.blade.php b/resources/views/Shop/Admin/Articles/partials/product/images.blade.php index 70cf15d6..3ed5bf1a 100644 --- a/resources/views/Shop/Admin/Articles/partials/product/images.blade.php +++ b/resources/views/Shop/Admin/Articles/partials/product/images.blade.php @@ -1 +1 @@ -@include('components.uploader.widget', ['load_url' => route('Botanic.Admin.Varieties.getImages', ['id' => $article['product_id'] ?? false]), 'title' => 'Photos produits', 'prefix' => 'product_', 'can_edit' => false ]) +@include('components.uploader.widget', ['load_url' => route('Botanic.Admin.Varieties.getImages', ['id' => $article['product_id'] ?? false, 'can_edit' => 0]), 'name' => 'product_images', 'title' => 'Photos produits', 'prefix' => 'product_', 'can_edit' => false, 'collapsed' => true ])