@extends('layouts.admin_default') @section('mytitle', 'My Profile') @section('page', 'My Profile') @section('content')
@if (session('status') === 'profile-updated')
Profile updated successfully.
@endif
@csrf @method('patch')
@if (session('status') === 'password-updated')
Password updated successfully.
@endif
@csrf @method('put')
@if(Session::has('current_password'))

{{Session::get('current_password')}}

@endif
@if($errors->has('new_password'))

{{$errors->first('new_password')}}

@endif
@endsection