{{-- 1. HEADER --}}
{{ __('Profile Information') }}

{{ __("Update your account's profile information and email address.") }}

{{-- Form Verifikasi Email (Tersembunyi, hanya dipanggil jika diperlukan) --}}
@csrf
{{-- 2. FORM UTAMA --}}
@csrf @method('patch') {{-- Input Nama --}}
@error('name')
{{ $message }}
@enderror
{{-- Input Username --}}
@error('username')
{{ $message }}
@enderror
{{-- Input Email --}}
@error('email')
{{ $message }}
@enderror {{-- Logika Verifikasi Email (Jika Diperlukan) --}} @if ($user instanceof \Illuminate\Contracts\Auth\MustVerifyEmail && ! $user->hasVerifiedEmail())

{{ __('Your email address is unverified.') }}

@if (session('status') === 'verification-link-sent')

{{ __('A new verification link has been sent to your email address.') }}

@endif
@endif
{{-- Tombol Simpan & Pesan Sukses --}}
@if (session('status') === 'profile-updated')

{{ __('Saved.') }}

@endif
{{-- Script Sederhana untuk Menghilangkan Pesan "Saved" setelah 2 detik --}} @if (session('status') === 'profile-updated') @endif