{{ trans('labels.EditProduct') }}
@if( count($errors) > 0)
@foreach($errors->all() as $error)
@foreach($result['description'] as $description_data)
@endforeach
{!! Form::close() !!}
Error:
{{ $error }}
@endforeach
@endif
{!! Form::open(array('url' =>'admin/updateProduct', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!}
{!! Form::hidden('id', $result['product'][0]->products_id, array('class'=>'form-control', 'id'=>'id')) !!}
{{ trans('labels.ChooseCatgoryText') }}
{{ trans('labels.ChooseSubCatgoryText') }}
@foreach($result['description'] as $description_data)
{{ trans('labels.EnterProductNameIn') }}
{{ trans('labels.EnterProductDetailIn') }}
{!! Form::text('products_price', $result['product'][0]->products_price, array('class'=>'form-control number-validate', 'id'=>'products_price')) !!}
{{ trans('labels.ProductPriceText') }}
{!! Form::text('products_weight', $result['product'][0]->products_weight, array('class'=>'form-control number-validate', 'id'=>'products_weight')) !!}
{{ trans('labels.RequiredTextForWeight') }}
{!! Form::text('products_model', $result['product'][0]->products_model, array('class'=>'form-control', 'id'=>'products_model')) !!}
{{ trans('labels.ProductsModelText') }}
{!! Form::text('products_quantity', $result['product'][0]->products_quantity, array('class'=>'form-control number-validate', 'id'=>'products_quantity')) !!}
{{ trans('labels.ProductsQuantityText') }}
{!! Form::text('low_limit', $result['product'][0]->low_limit, array('class'=>'form-control', 'id'=>'low_limit')) !!}
{{ trans('labels.QuantityLowLimitText') }}
{!! Form::file('products_image', array('id'=>'products_image')) !!}
{{ trans('labels.UploadProductImageText') }}
{!! Form::hidden('oldImage', $result['product'][0]->products_image , array('id'=>'oldImage', 'class'=>'field-validate ')) !!}
{!! Form::hidden('oldImage', $result['product'][0]->products_image , array('id'=>'oldImage', 'class'=>'field-validate ')) !!}
{{ trans('labels.SelectStatus') }}