@extends(auth()->user()->role === 'admin' || auth()->user()->role === 'super_admin' ? 'layouts.superadmin-app' : 'layouts.user-app') @section('page-title', 'Profile Settings') @section('page-subtitle', 'Kelola informasi profil Anda') @section('content')

Profile Information

Update your account's profile information and email address

@if (session('status') === 'profile-updated')
Profile updated successfully!
@endif
@csrf @method('patch')
@error('username')

{{ $message }}

@enderror
@error('nama')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror @if ($user instanceof \Illuminate\Contracts\Auth\MustVerifyEmail && ! $user->hasVerifiedEmail())

Your email address is unverified.

@endif
@error('no_hp')

{{ $message }}

@enderror

Update Password

Ensure your account is using a long, random password to stay secure

@if (session('status') === 'password-updated')
Password updated successfully!
@endif
@csrf @method('put')
@error('current_password', 'updatePassword')

{{ $message }}

@enderror
@error('password', 'updatePassword')

{{ $message }}

@enderror
@error('password_confirmation', 'updatePassword')

{{ $message }}

@enderror

Delete Account

Once your account is deleted, all of its resources and data will be permanently deleted

@endsection