{!! Form::open(['url' => '/admin/category-brand-slugs/create', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('Parent Category') !!}
{!! Form::select('parent_category_id', $categories, null, ['class' => 'form-control item_type_select2', 'placeholder' => 'Select parent category', 'id' => 'parent_category_id']) !!}
@if ($errors->has('parent_category_id'))
{!! $errors->first('parent_category_id') !!}@endif
{!! Form::label('Category') !!}
{!! Form::select('category_id', $categories, null, ['class' => 'form-control item_type_select2', 'placeholder' => 'Select category', 'id' => 'category_id']) !!}
@if ($errors->has('category_id'))
{!! $errors->first('category_id') !!}@endif
{!! Form::label('Brand') !!}
{!! Form::select('brand_id[]', $brands, null, ['class' => 'form-control item_type_select2', 'placeholder' => 'Select Brand', 'id' => 'brand_id_1']) !!}
@if ($errors->has('brand_id'))
{!! $errors->first('brand_id') !!}@endif
{!! Form::label('Slug') !!}
{!! Form::text('brand_slug[]', null, ['class' => 'form-control', 'placeholder' => 'Slug', 'id' => 'brand_slug_id']) !!}
@if ($errors->has('brand_slug'))
{!! $errors->first('brand_slug') !!}@endif
{!! Form::label('Position') !!}
{!! Form::text('position[]', null, ['class' => 'form-control', 'placeholder' => 'Position', 'id' => 'position_1' ] ) !!}
@if ($errors->has('position'))
{!! $errors->first('position') !!}@endif
{!! Form::close() !!}