
<?php $__env->startSection('title'); ?> Change Vendor Password <?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo e(asset('/img/trust.jpg')); ?>">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="<?php echo e(asset('/css1/metisMenu/metisMenu.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('/css1/metisMenu/metisMenu-vertical.css')); ?>">

<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900" rel="stylesheet">
<link rel="stylesheet" href="<?php echo e(asset('/css1/bootstrap.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('/css1/meanmenu.min.css')); ?>">
<link href="https://cdn.datatables.net/buttons/2.2.2/css/buttons.bootstrap5.min.css" rel="stylesheet">
<link rel="stylesheet" href="<?php echo e(asset('/css1/main.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('/css1/style.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('/css/responsive.css')); ?>">

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="<?php echo e(asset('/js1/jquery.meanmenu.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>


<div class="single-product-tab-area">
    <div class="single-pro-review-area">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="review-tab-pro-inner">
                        <?php if(session('success')): ?>
                        <div class="alert alert-success alert-dismissible">
                            <?php echo e(session('success')); ?>

                            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                        </div>
                        <?php endif; ?>

                        <?php if(session('fail')): ?>
                        <div class="alert alert-warning alert-dismissible">
                            <?php echo e(session('fail')); ?>

                            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                        </div>
                        <?php endif; ?>
                        <div class="error_msg">
                            <p style="text-align: center; color: red;" id="errMsg"></p>
                        </div>
                        <div id="myTabContent" class="tab-content custom-product-edit">
                            <form action="<?php echo e(route('admin.vendors.password.update', $vendor)); ?>" method="POST" enctype="multipart/form-data">
                                <?php echo e(csrf_field()); ?>

                                <div class="product-tab-list tab-pane fade active in" id="description">
                                    <div class="row">
                                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 m-5">
                                            <div class="review-content-section">
                                                <fieldset>
                                                    <legend><i class="fas fa-user-edit"></i>Change Vendor Password</legend>
                                                    <div class="form-div">
                                                        <div class=" mg-b-pro-edt col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                                            <label for="uPassword">New Password</label>
                                                            <input type="password" class="form-control" placeholder="Password" name="password" id="uPassword">
                                                            <label class="error text-danger" hidden="" id="passwordError"> Password is required </label>
                                                        </div>
                                                    </div>

                                                    <div class="form-div">
                                                    <div class="mg-b-pro-edt col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                                            <label for="cPassword">Confirm New Password</label>
                                                            <input type="password" class="form-control" placeholder="Confirm Password" name="cpassword" id="cPassword">
                                                            <label class="error text-danger" hidden="" id="cpasswordError"> Confirm Password is required </label>
                                                        </div>
                                                    </div>
                                                </fieldset>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                            <div class="text-center custom-pro-edt-ds">
                                                <button type="submit" class="btn btn-ctl-bt waves-effect waves-light m-r-10" name="event" value="add_boy" onclick="return checkDataBoy()">Update
                                                </button>
                                                <button type="button" class="btn btn-ctl-bt waves-effect waves-light" onclick="window.location = `<?php echo e(route('admin.vendor_list')); ?>`">Back</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>
<script src="<?php echo e(asset('/js1/metisMenu/metisMenu.min.js')); ?>"></script>
<script src="<?php echo e(asset('/js1/metisMenu/metisMenu-active.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/w84938540/trustmoversfreight.com/resources/views/admin/change_vendor_password.blade.php ENDPATH**/ ?>