{{ trans('labels.EditMainCategories') }}
@if (count($errors) > 0) @if($errors->any())
{{$errors->first()}}
@endif
@endif
{!! Form::open(array('url' =>'admin/updatecategory', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!}
{!! Form::hidden('id', $result['editCategory'][0]->id , array('class'=>'form-control', 'id'=>'id')) !!}
{!! Form::hidden('oldImage', $result['editCategory'][0]->image , array('id'=>'oldImage')) !!}
{!! Form::hidden('oldIcon', $result['editCategory'][0]->icon , array('id'=>'oldIcon')) !!}
@foreach($result['description'] as $description_data)
@endforeach
{!! Form::close() !!}
{{ trans('labels.CategoryName') }} ({{ $description_data['language_name'] }}).
{{ trans('labels.slugText') }}
{!! Form::file('newImage', array('id'=>'newImage')) !!}
{{ trans('labels.CategoryImageText') }}
{!! Form::file('newIcon', array('id'=>'newIcon')) !!}
{{ trans('labels.CategoryIconText') }}