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

    <div class="dashboard_main">
        <div class="factor_sec mx-auto">
            <div class="dashboard_main_container_style  mx-auto mb-4">
                <h5 class="dashboard_main_container_style_header">ویرایش پروفایل</h5>
                <div
                    class="alert alert-info  m-1 mb-2 <?php if( $errors->any() || session()->has('status')): ?> <?php else: ?> d-none <?php endif; ?> "
                    role="alert">
                    <?php if($errors->any()): ?>
                        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php echo e($error); ?><br>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                    <?php if(session()->has('status')): ?>
                        <?php echo e(session()->get('status')); ?>

                    <?php endif; ?>
                </div>
                <form method="post" id="editProfile" action="<?php echo e(route('panel.update_profile')); ?>" class="mt-5 mx-auto col-md-8 d-flex mb-5 flex-wrap align-items-center justify-content-center">
                    <?php echo csrf_field(); ?>
                    <div class="col-sm-6">
                        <div id="name" class="custom_form">
                            <div class="floating-label">
                                <input type="text" class="floating-input" value="<?php echo e(old('name',auth()->user()->name)); ?>" id="name" name="name" placeholder=" ">
                                <label class="main">نام </label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div id="extra_number_tab" class="custom_form">
                            <div class="floating-label">
                                <input type="text" class="floating-input" value="<?php echo e(old('lname',auth()->user()->lname)); ?>"  id="lname" name="lname" placeholder=" ">
                                <label class="main">نام خانوادگی</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-12">
                        <div id="extra_number_tab" class="custom_form">
                            <div class="floating-label">
                                <input type="email" class="floating-input" value="<?php echo e(old('email',auth()->user()->email)); ?>"  id="email" name="email" placeholder=" ">
                                <label class="main">ایمیل</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-12 d-flex justify-content-end btn_send_contact">
                        <button class="btn px-5 btn-outline-info" id="editProfileBtn">
                            ثبت
                        </button>
                    </div>
                </form>
            </div>
        </div>


    </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make("Front::Layout.Panel.master", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/foroshg1/laravel/Modules/Mehrab/Front/Providers/../Resources/Views//Panel/edit_profile.blade.php ENDPATH**/ ?>
