{!! Form::open(['url' => '/admin/attribute-sets/'.$attribute_set->attribute_set_id,'method'=>'put']) !!}
{!! Form::label('name','Name') !!}
{!! Form::text('attribute_set_name',$attribute_set->attribute_set_name,['class' => 'form-control', 'placeholder'=> 'Name']) !!}
@if ($errors->has('attribute_set_name'))
{!! $errors->first('attribute_set_name') !!}
@endif
{!! Form::label('type','Status') !!}
{!! Form::select('field_type',['text' => 'Text','dropdown' => 'Dropdown'],$attribute_set->field_type,['class' =>'form-control', 'placeholder'=> 'Select type']) !!}
@if ($errors->has('field_type'))
{!! $errors->first('field_type') !!}
@endif
{!! Form::label('type','Sorting Type') !!}
{!! Form::select('sort_by',['default' => 'Default','alphabetic' => 'Alphabetic'],$attribute_set->sort_by,['class' =>'form-control', 'placeholder'=> 'Select Sorting Type']) !!}
@if ($errors->has('sort_by'))
{!! $errors->first('sort_by') !!}
@endif
{!! Form::label('status','Status') !!}
{!! Form::select('attribute_set_is_exist',['1' => 'Active','0' => 'Inactive'],$attribute_set->attribute_set_is_exist,['class' =>'form-control']) !!}
@if ($errors->has('is_exist'))
{!! $errors->first('is_exist') !!}
@endif
@if(count($assignedAttributeSetToProduct) > 0)
@foreach($assignedAttributeSetToProduct as $value)
{{ $value->item_type_name }}
@endforeach
@else
@endif
{!! Form::close() !!}