{!! Form::open(['method' => 'PATCH', 'url' => '/admin/item-type-details/' .$itemTypeDetail->item_type_detail_id]) !!}
{!! Form::label('Item Type') !!}
{!! Form::select('item_type_id', $itemTypes, $itemTypeDetail->item_type_id, ['class' => 'form-control', 'placeholder' => 'Select item type', 'id' => 'item_type_id']) !!}
@if ($errors->has('item_type_id'))
{!! $errors->first('item_type_id') !!}@endif
{!! Form::label('Brand') !!}
{!! Form::select('brand_id', $brands, ($itemTypeDetail->brand_id) ? $itemTypeDetail->brand_id : '', ['class' => 'form-control', 'placeholder' => 'Select brand', 'id' => 'brand_id']) !!}
@if ($errors->has('brand_id'))
{!! $errors->first('brand_id') !!}@endif
{!! Form::label('Detail') !!}
{!! Form::textarea('detail', $itemTypeDetail->detail, ['class' => 'form-control', 'placeholder' => 'Detail', 'id'=> 'detail']) !!}
@if ($errors->has('detail'))
{!! $errors->first('detail') !!}@endif
{!! Form::label('FAQ') !!}
{!! Form::textarea('faq', $itemTypeDetail->faq, ['class' => 'form-control', 'placeholder' => 'FAQ', 'id'=> 'faq']) !!}
@if ($errors->has('faq'))
{!! $errors->first('faq') !!}@endif
{!! Form::label('Status') !!}
{!! Form::select('item_type_detail_is_exist', [1 => 'Active', 0 => 'Inactive'], $itemTypeDetail->item_type_detail_is_exist, ['class' => 'form-control']) !!}