diff --git a/resources/views/profile/edit.blade.php b/resources/views/profile/edit.blade.php index ca2b73e..8d441b3 100644 --- a/resources/views/profile/edit.blade.php +++ b/resources/views/profile/edit.blade.php @@ -8,7 +8,7 @@
-
+
@include('profile.partials.update-profile-information-form') diff --git a/resources/views/profile/partials/update-profile-information-form.blade.php b/resources/views/profile/partials/update-profile-information-form.blade.php index 216edbf..a36e25f 100644 --- a/resources/views/profile/partials/update-profile-information-form.blade.php +++ b/resources/views/profile/partials/update-profile-information-form.blade.php @@ -1,11 +1,11 @@

- {{ __('Profile Information') }} + {{ __('Informasi Profil') }}

- {{ __("Update your account's profile information and email address.") }} + {{ __("Perbarui informasi profil dan alamat email akun Anda.") }}

@@ -17,17 +17,17 @@ @csrf @method('patch') - {{-- Name --}} + {{-- Bagian Nama Lengkap --}}
- - - @error('name') + + + @error('nama_lengkap')
{{ $message }}
@enderror
- {{-- Email --}} + {{-- Bagian Email --}}

- {{ __('Your email address is unverified.') }} - + {{ __('Alamat email Anda belum terverifikasi.') }}

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

- {{ __('A new verification link has been sent to your email address.') }} + {{ __('Tautan verifikasi baru telah dikirim ke alamat email Anda.') }}

@endif
@endif
+ + {{-- Bagian Nomor Telepon (Editable - Hanya jika ada) --}} + @if ($user->nomor_hp) +
+ + + @error('nomor_hp') +
{{ $message }}
+ @enderror +
+ @endif + +
-
- + {{-- Bagian Info Spesifik Role (Tidak Dapat Diubah) --}} + @if ($user->role == 'siswa') +
+ + + NISN tidak dapat diubah. +
+
+
+ + +
+
+ + +
+
+ @else + {{-- Untuk Guru atau Penjaga Perpus --}} +
+ + + NIP tidak dapat diubah. +
+ @endif + + +
+ @if (session('status') === 'profile-updated') - {{ __('Saved.') }} + {{ __('Tersimpan.') }} @endif
- + \ No newline at end of file