@extends('backend.app') @section('title') {{ config('app.name') }} || Profile Settings @endsection @section('content')

Adminstrator Profile Settings

{{-- Left Side: Profile Overview --}}

{{ $user->name }}

{{ ucfirst($user->role ?? 'N/A') }}


{{-- Email Item --}}
Email
{{ $user->email }}
{{-- Phone Item --}}
Phone
{{ $user->phone ?? 'N/A' }}
{{-- Address Item --}}
Address
{{ $user->address ?? 'N/A' }}
{{-- Right Side: Update Form --}}
Edit Personal Information
@csrf @method('PATCH')
{{-- Name --}}
@error('name')
{{ $message }}
@enderror
{{-- Email --}}
@error('email')
{{ $message }}
@enderror
{{-- Phone --}}
{{-- Avatar --}}
Recommended: Square image, max 5MB @error('avatar')
{{ $message }}
@enderror
{{-- Address --}}
Change Password

Leave the password field empty if you don't want to change the password

{{-- Password --}}
@error('password')
{{ $message }}
@enderror
{{-- Confirm Password --}}
{{-- JavaScript for Image Preview --}} @endsection