{{-- resources/views/profile/partials/update-profile-information-form.blade.php --}}

{{ __('Profile Information') }}

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

@csrf
@csrf @method('patch') {{-- Name --}}
{{-- Email --}}
@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
{{-- Phone Number (only render if column exists on users table) --}} @if (\Illuminate\Support\Facades\Schema::hasColumn('users', 'phone_number'))
@endif {{-- Bio (agents only) --}} @if (isset($user) && $user->role === 'agent' && \Illuminate\Support\Facades\Schema::hasColumn('users', 'bio'))
{{ __('Up to 2000 characters.') }}
@endif {{-- Personal Info Section --}}

{{ __('Personal Information') }}

{{-- Save Button --}}
@if (session('status') === 'profile-updated')

{{ __('Saved.') }}

@endif