Beranda
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf @method('PUT')
@if ($user->photo)
@else
{{ strtoupper(substr($user->name, 0, 2)) }}
@endif
{{ $user->name }}
Email
{{ $user->email }}
No Telepon
{{ $user->telepon }}
Alamat
{{ $user->alamat }}
Role
{{ ucfirst($user->role ?? 'User') }}
@if ($user->role != 'admin')
@csrf @method('PUT')
Ubah Password
Password Lama
Password Baru
Konfirmasi Password Baru
Simpan Password Baru
@endif