@extends('layouts/contentNavbarLayout') @section('title', 'Account Settings') @section('vendor-style') @endsection @section('content')

Account Settings

@if (session('success')) @endif @if ($errors->any()) @endif
@if ($activeTab === 'account') {{-- Account tab --}}
@csrf @method('PATCH') {{-- Profile Photo --}}
@if($user->avatar) Avatar @else Avatar @endif
Allowed JPG, GIF or PNG. Max size of 800K
{{-- Personal Information --}}
Personal Information
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('date_of_birth')
{{ $message }}
@enderror
{{-- Professional Information --}}
Professional Information
@error('organization')
{{ $message }}
@enderror
@error('designation')
{{ $message }}
@enderror
Cancel
@endif @if ($activeTab === 'security') {{-- Security tab: Change Password --}}
@csrf
Change Password
@error('current_password')
{{ $message }}
@enderror
Show password
@error('password')
{{ $message }}
@enderror
Show password
Show password
Password Requirements:
  • Minimum 8 characters long - the more, the better
  • At least one lowercase character
  • At least one number, symbol, or whitespace character
@endif
@endsection @section('page-script') @endsection