@extends('layouts.admin.admin') @section('title', 'Global Settings') @section('content') @include('partials.header') @include('layouts.admin.sidebar') System SettingsAccount Settings Account Settings @if(session('success')) Success! {{ session('success') }} @endif @if(session('error')) Success! {{ session('error') }} @endif @csrf @method('PUT') Update your profile picture {{-- --}} @php $avatar = $user->avatar_link ? asset($user->avatar_link) : asset('Assets/images/user-solid.svg'); @endphp {{-- --}} @if ($errors->has('avatar_link')) {{ $errors->first('avatar_link') }} @endif First Name* @if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif Middle Name @if ($errors->has('middle_name')) {{ $errors->first('middle_name') }} @endif Last Name* @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif {{-- Gender* Select Gender userdetails->gender) == 'male' ? 'selected' : '' }}>Male userdetails->gender) == 'female' ? 'selected' : '' }}>Female userdetails->gender) == 'other' ? 'selected' : '' }}>Other @if ($errors->has('gender')) {{ $errors->first('gender') }} @endif --}} Phone* @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif Email* @if ($errors->has('email')) {{ $errors->first('email') }} @endif Edit Save @csrf Change Password* Current Password @if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif New Password Password must contain the following: A lowercase letter (a-z) An Uppercase letter (A-Z) A number (0-9) A minimum of 8 and a maximum of 12 characters. A special character (! @ # $ % ^ & * ( )) @if ($errors->has('password')) {{ $errors->first('password') }} @endif Confirm New Password @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif Save @push('script') @endpush @stop