@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')) @endif @if(session('error')) @endif
@csrf @method('PUT')
{{--
--}} @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
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('middle_name')) {{ $errors->first('middle_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
{{--
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
--}}
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@csrf
@if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif
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
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
@push('script') @endpush @stop