<?php $__env->startPush('styles'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('theme/plugins/bootstrap-select.min.css')); ?>">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('title', 'مدير النظام | الإعدادات'); ?>

<?php $__env->startSection('main-content'); ?>
    <h4>تغيير إسم المدير وكلمة المرور</h4>
    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="alert alert-danger"><?php echo e($error); ?></div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php if(Session::has('success')): ?>
        <p class="alert alert-info"><?php echo e(Session::get('success')); ?></p>
    <?php endif; ?>
    <hr>
    <form action="<?php echo e(route('manager.save-setting')); ?>" method="POST">
        <?php echo csrf_field(); ?>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label for="name">إسم المدير</label>
                    <input type="text" class="form-control" name="name" value="<?php echo e($user); ?>">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label for="old-password">كلمة المرور القديمة</label>
                    <input type="text" name="old_password" class="form-control" >
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label for="password">كلمة المرور الجديدة</label>
                    <input type="text" name="password" class="form-control">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label for="password-confirm">كلمة المرور الجديدة</label>
                    <input type="text" name="password_confirmation" class="form-control">
                </div>
            </div>
        </div>
        <button type="submit" class="btn btn-primary">حفظ البيانات</button>
    </form>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('manager.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dvrhexcb/repair.clicklaptopeg.com/resources/views/manager/setting/profile.blade.php ENDPATH**/ ?>