Kelola Pengguna

@if(session('success')) {{ session('success') }} @endif

Tambah Pengguna

@csrf
@if($errors->has('name'))

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

@endif
@if($errors->has('email'))

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

@endif
@if($errors->has('roles'))

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

@endif
@if($errors->has('password'))

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

@endif
@if($errors->has('password_confirmation'))

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

@endif
@foreach($users as $u) @endforeach
Nama Email Role Izin Langsung Aksi
{{ $u->name }} {{ $u->email }} {{ $u->getRoleNames()->implode(', ') ?: '-' }} {{ $u->getPermissionNames()->implode(', ') ?: '-' }}
@csrf @method('delete')
Tampilkan per halaman
{{ $users->links() }}