{{-- resources/views/profile/my-profile.blade.php --}} @extends('layouts.user') @section('title', 'Profil Saya') @section('description', 'Kelola informasi profil dan pengaturan akun Anda dengan mudah dan aman.') @section('breadcrumb', 'Profil') @section('content')
{{-- Success/Error Messages (tetap di sini agar bisa tampil di halaman utama) --}} @if(session('success')) @endif @if(session('error')) @endif @if ($errors->any()) @endif
{{-- Profile Picture & Actions Card --}}
Foto Profil
{{-- Hidden file input --}}

{{ $user->nama ?? 'Nama Pengguna' }}

{{ $user->email }}

{{-- Profile Details & Account Settings Card --}}

Informasi Profil

@csrf @method('POST')
{{-- Field Nama --}}
@error('nama')

{{ $message }}

@enderror
{{-- Field No. Telepon --}}
@error('no_telp')

{{ $message }}

@enderror
{{-- Field Email --}}
@error('email')

{{ $message }}

@enderror
{{-- TOMBOL GANTI PASSWORD SEKARANG MEMBUKA MODAL --}}
{{-- Ini adalah bagian di mana Anda menyertakan file riwayat akun yang baru --}} @include('profile.account-history', ['konsultasiHistory' => $konsultasiHistory, 'perlingHistory' => $perlingHistory])
{{-- MODAL UNTUK GANTI PASSWORD --}} {{-- Sertakan form ganti password yang sudah dibuat --}} @include('profile.change-password') @push('scripts') @endpush @endsection