Fixes on widget uploder
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
{{ Form::label('tags', 'Tags') }}<br>
|
||||
@include('Shop.Admin.Articles.partials.product.tags')
|
||||
@include('components.select-tree', ['name' => 'tags[]', 'list' => $tags_list, 'values' => $article['tags'] ?? null, 'class' => 'select2 form-control', 'multiple' => true])
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,18 +45,15 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
{{ Form::label('description', 'Description') }}
|
||||
@if (!empty($article['product']['description']))
|
||||
@component('components.layout.box-collapse', ['id' => 'product_description', 'title' => 'Description produit'])
|
||||
{{ $article['product']['description'] }}
|
||||
@endcomponent
|
||||
@endif
|
||||
@include('Shop.Admin.Articles.partials.product.description')
|
||||
@include('components.textarea', ['name' => 'description', 'value' => $article['description'] ?? null, 'class' => 'editor', 'required' => true])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
@include('components.uploader.widget', ['load_url' => route('Shop.Admin.Articles.getImages', ['id' => $article['id'] ?? false]), 'delete_url' => route('Shop.Admin.Articles.deleteImage'), 'title' => 'Photos' ])
|
||||
@include('Shop.Admin.Articles.partials.product.images', ['name' => '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' ])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user