@extends('admin.master') @section('title', 'Admin Profile') @section('content')
{{-- Page Header --}}

Admin Profile

Manage your account information and password.

{{-- Profile Summary --}}
{{ strtoupper( substr( trim($admin->name ?: 'A'), 0, 1 ) ) }}

{{ $admin->name }}

{{ $admin->email }}

Administrator
Name {{ $admin->name }}
Email Address {{ $admin->email }}
Account Created {{ optional($admin->created_at)->format('d M, Y') }}
{{-- Forms Column --}}
{{-- Profile Information Card --}}

Profile Information

Change your admin name and email address.

@if(session('profile_success'))
{{ session('profile_success') }}
@endif @if($errors->profileUpdate->any())
Please fix the following errors:
    @foreach($errors->profileUpdate->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
@if($errors->profileUpdate->has('name'))
{{ $errors->profileUpdate->first('name') }}
@endif
@if($errors->profileUpdate->has('email'))
{{ $errors->profileUpdate->first('email') }}
@endif
{{-- Password Card --}}

Change Password

Enter and confirm your new admin password.

@if(session('password_success'))
{{ session('password_success') }}
@endif @if($errors->passwordUpdate->any())
Please fix the following errors:
    @foreach($errors->passwordUpdate->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
{{-- New Password --}}
@if($errors->passwordUpdate->has('password'))
{{ $errors->passwordUpdate->first('password') }}
@endif
Password must be at least 8 characters.
{{-- Confirm Password --}}
After changing your password, use the new password during your next login.
@endsection