@php $rolesArr = Auth::user()->roles; $userrolename = isset($user)?$user->roles->implode('name', ', '):''; @endphp
Name *
{!! Form::text('name', null, ['class' => 'form-control alphabetsOnly', 'required', 'maxlength' => '250']) !!} @if ($errors->has('name'))

{{ $errors->first('name') }}

@endif
Email
{!! Form::email('email', null, ['class' => 'form-control mb-20', 'maxlength' => '250']) !!} @if ($errors->has('email'))

{{ $errors->first('email') }}

@endif
Phone Number *
{!! Form::text('phone_no', null, ['class' => 'form-control mb-20 numbersOnly', 'required', 'maxlength' => '15']) !!} @if ($errors->has('phone_no'))

{{ $errors->first('phone_no') }}

@endif
@if(isset($user))
id === $user->id) style='display:none' @endif> @else
@endif Role
{!! Form::select('roles[]', $roles, isset($user) ? $user->roles->pluck('id')->toArray() : null, ['class' => 'form-control select2-selection__rendered roleselect']) !!} @if ($errors->has('roles'))

{{ $errors->first('roles') }}

@endif
Password *
{!! Form::password('password', ['class' => 'form-control', 'id' => 'password']) !!} @if ($errors->has('password'))

{{ $errors->first('password') }}

@endif
Status
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
Address Line 1
@if ($errors->has('address'))

{{ $errors->first('address') }}

@endif
Address Line 2
@if ($errors->has('address1'))

{{ $errors->first('address1') }}

@endif
Country
State
@if ($errors->has('state'))

{{ $errors->first('state') }}

@endif
City
@if ($errors->has('city'))

{{ $errors->first('city') }}

@endif