<?php $__env->startSection('content'); ?>

<div class="row">
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <?php echo e(trans('global.my_profile')); ?>

            </div>

            <div class="card-body">
                <form method="POST" action="<?php echo e(route("profile.password.updateProfile")); ?>">
                    <?php echo csrf_field(); ?>
                    <div class="form-group">
                        <label class="required" for="name"><?php echo e(trans('cruds.user.fields.name')); ?></label>
                        <input class="form-control <?php echo e($errors->has('name') ? 'is-invalid' : ''); ?>" type="text" name="name" id="name" value="<?php echo e(old('name', auth()->user()->name)); ?>" required>
                        <?php if($errors->has('name')): ?>
                            <div class="invalid-feedback">
                                <?php echo e($errors->first('name')); ?>

                            </div>
                        <?php endif; ?>
                    </div>
                    <div class="form-group">
                        <label class="required" for="title"><?php echo e(trans('cruds.user.fields.email')); ?></label>
                        <input class="form-control <?php echo e($errors->has('email') ? 'is-invalid' : ''); ?>" type="text" name="email" id="email" value="<?php echo e(old('email', auth()->user()->email)); ?>" required>
                        <?php if($errors->has('email')): ?>
                            <div class="invalid-feedback">
                                <?php echo e($errors->first('email')); ?>

                            </div>
                        <?php endif; ?>
                    </div>
                    <div class="form-group">
                        <button class="btn btn-danger" type="submit">
                            <?php echo e(trans('global.save')); ?>

                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <?php echo e(trans('global.change_password')); ?>

            </div>

            <div class="card-body">
                <form method="POST" action="<?php echo e(route("profile.password.update")); ?>">
                    <?php echo csrf_field(); ?>
                    <div class="form-group">
                        <label class="required" for="title">New <?php echo e(trans('cruds.user.fields.password')); ?></label>
                        <input class="form-control <?php echo e($errors->has('password') ? 'is-invalid' : ''); ?>" type="password" name="password" id="password" required>
                        <?php if($errors->has('password')): ?>
                            <div class="invalid-feedback">
                                <?php echo e($errors->first('password')); ?>

                            </div>
                        <?php endif; ?>
                    </div>
                    <div class="form-group">
                        <label class="required" for="title">Repeat New <?php echo e(trans('cruds.user.fields.password')); ?></label>
                        <input class="form-control" type="password" name="password_confirmation" id="password_confirmation" required>
                    </div>
                    <div class="form-group">
                        <button class="btn btn-danger" type="submit">
                            <?php echo e(trans('global.save')); ?>

                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--
<div class="row">
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <?php echo e(trans('global.delete_account')); ?>

            </div>

            <div class="card-body">
                <form method="POST" action="<?php echo e(route("profile.password.destroyProfile")); ?>" onsubmit="return prompt('<?php echo e(__('global.delete_account_warning')); ?>') == '<?php echo e(auth()->user()->email); ?>'">
                    <?php echo csrf_field(); ?>
                    <div class="form-group">
                        <button class="btn btn-danger" type="submit">
                            <?php echo e(trans('global.delete')); ?>

                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <?php if(Route::has('profile.password.toggleTwoFactor')): ?>
        <div class="col-md-6">
            <div class="card">
                <div class="card-header">
                    <?php echo e(trans('global.two_factor.title')); ?>

                </div>

                <div class="card-body">
                    <form method="POST" action="<?php echo e(route("profile.password.toggleTwoFactor")); ?>">
                        <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <button class="btn btn-danger" type="submit">
                                <?php echo e(auth()->user()->two_factor ? trans('global.two_factor.disable') : trans('global.two_factor.enable')); ?>

                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    <?php endif; ?>
</div>
-->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/newrhytha2/public_html/sfm.fusionengg.in/resources/views/auth/passwords/edit.blade.php ENDPATH**/ ?>