@if (auth()->user()->is_company)
{!! Form::open(['route' => ['company-users.update', $user->id], 'method' => 'put',
'files' => 'true','id'=>'userEditForm']) !!}
@else
{!! Form::open(['route' => ['users.update', $user->id], 'method' => 'put',
'files' => 'true','id'=>'userEditForm']) !!}
@endif
{!! Form::open(['route' => ['users.update', $user->id], 'method' => 'put',
'files' => 'true','id'=>'userEditForm']) !!}
@include('users.fields')
{{ Form::close() }}