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


    <main>

        <!-- ---------- breadcrumb ----------- -->
        <?php echo $__env->make('web.layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <!-- ---------- pg_login_form ----------- -->
        <section class="pg_login_form section_padding bg_light pg_profile_form read_only">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-lg-10">
                        <div class="content">
                            <div class="form_content">
                                <h3 class="mb-5 pb-3 border-bottom border-1 text-uppercase"> <?php echo e(__('web.profile')); ?> </h3>
                                <form action="<?php echo e($action); ?>" method="POST" onsubmit="formAction(this)" class="form">
                                    <?php echo csrf_field(); ?>
                                    <div class="form_cont w-100">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> <?php echo e(__('web.email')); ?> </h6>
                                            <input type="email" name="email" class="form-control" value="<?php echo e($user->email); ?>">
                                        </div>
                                        <!--<div class="form-group mb-3">-->
                                        <!--    <h6 class="mb-2"> <?php echo e(__('web.phone')); ?> </h6>-->
                                        <!--    <input type="number" name="phone" class="form-control" value="<?php echo e($user->phone); ?>">-->
                                        <!--</div>-->
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> <?php echo e(__('web.username')); ?> </h6>
                                            <input type="text" name="name" class="form-control" value="<?php echo e($user->name); ?>">
                                        </div>
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> <?php echo e(__('web.gender')); ?> </h6>
                                            <select name="gender" id="" class="form-control form-select">
                                                <option <?php if($user->gender == 'male'): ?> selected <?php endif; ?> value="male"> <?php echo e(__('web.male')); ?> </option>
                                                <option <?php if($user->gender == 'female'): ?> selected <?php endif; ?> value="female"> <?php echo e(__('web.female')); ?> </option>
                                            </select>
                                        </div>
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> <?php echo e(__('web.national_id')); ?> </h6>
                                            <input type="text" name="national_id" class="form-control" value="<?php echo e($user->national_id); ?>" placeholder="122122121212">
                                        </div>
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> <?php echo e(__('web.password')); ?> </h6>
                                            <input type="password" name="password" class="form-control"  placeholder="********">
                                        </div>
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> <?php echo e(__('web.password_confirmation')); ?> </h6>
                                            <input type="password" name="password_confirmation" class="form-control"  placeholder="********">
                                        </div>
                                        <div class="form-group mt-5 text-center read_block">
                                            <a href="#0" class="butn px-5 py-3 edit_btn"> <span> <?php echo e(__('web.edit')); ?> <i class="fad fa-pen ms-2"></i> </span> </a>
                                        </div>
                                        <div class="form-group mt-5 text-center read_none">
                                            <button type="submit" class="butn sub_butn px-5 py-3"> <span> <?php echo e(__('web.save')); ?> <i class="fad fa-save ms-2"></i> </span> </button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

    </main>

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

    <script>
        $(".pg_profile_form .edit_btn").on("click" , function(){
            $(this).parents(".pg_profile_form").toggleClass("read_only");
        })
    </script>
<?php $__env->stopSection(); ?>

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

<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/ntc/resources/views/web/pages/profile/profile.blade.php ENDPATH**/ ?>