@extends('layouts.app') @section('content')
@if($item->productType == 0) Configurable @else Simple @endif
{!! Form::open(array('url'=>'attributesets/item/'.$id.'/set/'.$attributeSet, 'class'=>'form-horizontal','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!} @foreach($attributes as $attribute)

@if($attribute->type === 'boolean') @php $thisVal = $item->{$helper->camelCase($attribute->name)} @endphp Yes required) required @endif @if($thisVal == 1) checked @endif> No required) required @endif @if($thisVal == 0 || empty($thisVal)) checked @endif> @elseif($attribute->type === 'dateTime') required) required @endif> @elseif($attribute->type === 'float') required) required @endif> @elseif($attribute->type === 'int') required) required @endif> @elseif($attribute->type === 'text') @elseif($attribute->type === 'gallery') @if(!is_null($gallery)) @foreach($gallery as $galItem) @endforeach
Image Label Sort Order
Delete
@endif @elseif($attribute->type === 'price') required) required @endif> @elseif($attribute->type === 'varchar') required) required @endif> @endif
@endforeach

@if(count($children))

Child Products

@foreach($children as $child) {{$child->name}}
@endforeach

@endif
{!! Form::close() !!} @include('footer')
@stop