{{ Form::model($category, array('route' => array('admin.categories.update', $category->id), 'method' => 'POST','files'=>true)) }}
{{ Form::text('title', $category->title, array('id'=>'title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'title')." ",'placeholder' => 'Enter name')) }}
{!! APFrmErrHelp::showErrors($errors, 'title') !!}
{{ Form::text('arabic_title', $category->arabic_title, array('id'=>'arabic_title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_title')." ",'placeholder' => 'Enter arabic name')) }}
{!! APFrmErrHelp::showErrors($errors, 'arabic_title') !!}
{{ Form::textarea('description', $category->description, array('id'=>'description','class' => "form-control ".APFrmErrHelp::hasError($errors, 'description')." ",'placeholder' => 'Enter description')) }}
{!! APFrmErrHelp::showErrors($errors, 'description') !!}
{{ Form::textarea('arabic_description', $category->arabic_description, array('id'=>'arabic_description','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_description')." ",'placeholder' => 'Enter arabic description')) }}
{!! APFrmErrHelp::showErrors($errors, 'arabic_description') !!}
{!! Form::file('image', ['id'=>'image','class' => 'form-control file-chose', 'accept' => 'image/*']) !!}
status=='1') checked @endif value="1"> Active
status=='0') checked @endif value="0"> Inactive
{{ Form::close() }}