<div class="modal fade px-2" id="passwordModal" tabindex="-1" role="dialog" aria-labelledby="editModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header text-white">
                <h5 class="modal-title" id="editModalCenterTitle">@lang('quickadmin.users.fields.edit')</h5>
                <button type="button" class="close text-white" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body floatingLabel">
                <form method="post" id="EditPasswordForm" action="{{route('staff.change-password',$user->id)}}">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label for="password">@lang('quickadmin.qa_new_password')<span class="text-danger">*</span></label>
                                <div class="input-group">
                                    <input type="password" value="{{ old('password') }}" id="password" class="form-control @error('password') is-invalid @enderror" name="password" placeholder="Enter New Password" tabindex="1" >
                                    <span class="current-password-toggle-icon pass-toggle-icon"><i class="fas fa-eye-slash" onClick="ChangeEyeIcon($(this),'password');"></i></span>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-12">
                            <div class="form-group">
                                <label for="password_confirmation">@lang('quickadmin.qa_confirm_password')<span class="text-danger">*</span></label>
                                <div class="input-group">
                                    <input type="password" value="{{ old('password_confirmation') }}" id="password_confirmation" class="form-control @error('password_confirmation') is-invalid @enderror" name="password_confirmation" placeholder="Enter Confirm Password" tabindex="1" >
                                    <span class="current-password-toggle-icon pass-toggle-icon"><i class="fas fa-eye-slash" onClick="ChangeEyeIcon($(this),'password_confirmation');"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-12 text-right">
                            <button type="submit" class="btn btn-primary">@lang('quickadmin.qa_submit')</button>
                        </div>
                    </div>
                </form>
                {{-- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> --}}
            </div>
        </div>
    </div>
</div>
