{!! Form::model($category_info, ['method' => 'PUT', 'id'=>'category_form','route' => ['categories.update', $category_info->id]]) !!}
{!! Form::close() !!}
{!! Form::select('companies', $companies, $category_info->company_id, array('class' => 'form-control form-control-sm', 'id'=>'company_id')) !!}
@error('companies')
{{ $message }}
@enderror
@if ($message = Session::get('company_error'))
{{ $message }}
@endif
{!! Form::text('category', $category_info->category, array('placeholder' => 'Category Name','class' => 'form-control form-control-sm','id' => 'new_category')) !!}
@if ($message = Session::get('error'))
{{ $message }}
@endif
@include('components.dashboard.vertical')