{{ Form::label('model', 'Familles de produit') }}
@include('components.select', ['name' => 'product_type', 'id_name' => 'product_type', 'list' => $models_options, 'value' => $article['product_type'] ?? null, 'class' => 'select2', 'with_empty' => ''])
{{ Form::label('model_id', 'Produit') }}
@include('components.select', ['name' => 'product_id', 'id_name' => 'product_id', 'list' => $products ?? [], 'value' => $article['product_id'] ?? null, 'class' => 'select2', 'with_empty' => ''])
{{ Form::label('ref', 'Référence') }}
@include('components.input', ['name' => 'ref', 'value' => $article['ref'] ?? null])
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => $article['name'] ?? null, 'required' => true])
{{ Form::label('article_nature_id', __('Shop.article_natures.name')) }}
@include('components.select', ['name' => 'article_nature_id', 'list' => $natures_options, 'value' => $article['article_nature_id'] ?? null, 'class' => 'select2', 'with_empty' => ''])
{{ Form::label('categories', __('Shop.shelves.title')) }}
@include('components.select', ['name' => 'categories[]', 'list' => $categories_options, 'values' => $article['categories'] ?? null, 'class' => 'select2', 'multiple' => true])
{{ Form::label('tags', 'Tags') }}
@include('components.select-tree', ['name' => 'tags[]', 'list' => $tags_list, 'values' => $article['tags'] ?? null, 'class' => 'select2', 'multiple' => true])
@include('Admin.Shop.Articles.partials.product.description')
{{ Form::label('description', 'Description') }} @include('components.textarea', ['name' => 'description', 'value' => $article['description'] ?? null, 'class' => 'editor', 'required' => true])
@include('Admin.Shop.Articles.partials.product.images') @include('components.uploader.widget', ['load_url' => route('Admin.Shop.Articles.getImages', ['id' => $article['id'] ?? false]), 'delete_url' => route('Admin.Shop.Articles.deleteImage'), 'title' => 'Photos', 'name' => 'images' ]) @include('Admin.Core.Comments.partials.comments', ['model' => 'Shop.Article', 'model_id' => $article['id'] ?? false, 'comments' => $article['comments'] ?? false])
@push('js') @endpush