
<?php $__env->startSection('content'); ?>
    <!-- begin::main content -->
    <main class="main-content">

        <div class="container">

            <!-- begin::page header -->
            <div class="page-header">
                <h3>Change Password</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">Dashboard</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Profile</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="profile m-b-20 p-30 d-lg-flex align-items-center justify-content-between"
                data-backround-image="<?php echo e(asset('public/admin/media/image/image1.png')); ?>">
                <div class="d-flex align-items-center">
                    <div>
                        <figure class="avatar avatar-xl m-r-20">
                            <img src="<?php echo e(!empty($myprofile->profile_pics) ? $myprofile->profile_pics : asset('public/admin/media/image/avatar.jpg')); ?>"
                                class="rounded-circle" alt="...">
                        </figure>
                    </div>
                    <div class="text-white">
                        <div>
                            <h3>
                                <?php echo e($myprofile->name); ?>

                            </h3>
                            <p class="m-b-0 opacity-8"><?php echo e($myprofile->institute); ?></p>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row row-sm">


                <div class="col-md-6">

                    <div class="card">
                        <div class="card-body">
                            <?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>
                            <h6 class="card-title">Change Profile Password</h6>
                            <form action="<?php echo e(asset('change-password/')); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <input type="hidden" value="<?php echo e($myprofile->id); ?>" name="admin_id">
                                <div class="form-group">
                                    <label for="current_password">Current Password</label>
                                    <input type="text" class="form-control" name="current_password" value=""
                                        id="current_password" placeholder="Current password">
                                    <?php if($errors->has('current_password')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('current_password')); ?>

                                        </div>
                                    <?php endif; ?>
                                </div>

                                <div class="form-group">
                                    <label for="new_password">New Password</label>
                                    <input type="password" class="form-control" name="new_password" value=""
                                        id="new_password" placeholder="New password">
                                    <?php if($errors->has('new_password')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('new_password')); ?>

                                        </div>
                                    <?php endif; ?>
                                </div>

                                <div class="form-group">
                                    <label for="confirm_password">Confirm Password</label>
                                    <input type="password" class="form-control" name="confirm_password" value=""
                                        id="confirm_password" placeholder="Retype password">
                                    <?php if($errors->has('confirm_password')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('confirm_password')); ?>

                                        </div>
                                    <?php endif; ?>
                                </div>

                                <button type="submit" class="btn btn-primary">Update</button>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

        </div>

    </main>
    <!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\xampp\htdocs\visitor_management\resources\views/superadmin/profile/change-profile-password.blade.php ENDPATH**/ ?>