
<?php $__env->startSection('title', 'Web Information'); ?>
<?php $__env->startPush('css'); ?>
<?php $__env->stopPush(); ?>

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

    <!-- Main Content -->
    <div class="main-content">
        <section class="section">
            <div class="col-12 section-header">
                <div class="col-6">
                    <h1> Web Information </h1>
                </div>

            </div>
            <?php if($errors->any()): ?>
                <div class="col-sm-12">
                    <div class="alert  alert-warning alert-dismissible fade show" role="alert">
                        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <span>
                                <p><?php echo e($error); ?></p>
                            </span>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                </div>
            <?php endif; ?>

            <?php echo $__env->make('flash-message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

            <div class="section-body">
                <div class="col-12">
                    <div class="card">

                        <div class="col-12 card-body">

                            <form method="POST" action="<?php echo e(route('webProperties.updateData', $id)); ?>" id="editForm"
                                enctype="multipart/form-data">
                                <?php echo e(method_field('POST')); ?>

                                <?php echo e(csrf_field()); ?>

                                <div class="row">
                                    <div class="col-lg-12">


                                        <div class="form-group">
                                            <labelHeader>Company Name<code></code></labelHeader>
                                            <input type="text" name="company_name" class="form-control form-control-lg"
                                                value="<?php echo e($data->company_name); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Email<code></code></labelHeader>
                                            <input type="email" name="email" class="form-control form-control-lg"
                                                value="<?php echo e($data->email); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Support Email<code></code></labelHeader>
                                            <input type="email" name="support_email" class="form-control form-control-lg"
                                                value="<?php echo e($data->support_email); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Business Email<code></code></labelHeader>
                                            <input type="email" name="business_email" class="form-control form-control-lg"
                                                value="<?php echo e($data->business_email); ?>">
                                        </div>



                                        <div class="form-group">
                                            <labelHeader>Phone No <code></code></labelHeader>
                                            <input type="text" name="phone_no" class="form-control form-control-lg"
                                                value="<?php echo e($data->phone_no); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>FB Link<code></code></labelHeader>
                                            <input type="text" name="fb_link" class="form-control form-control-lg"
                                                value="<?php echo e($data->fb_link); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Youtube Link<code></code></labelHeader>
                                            <input type="text" name="youtube_link" class="form-control form-control-lg"
                                                value="<?php echo e($data->youtube_link); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Twitter Link<code></code></labelHeader>
                                            <input type="text" name="twitter_link" class="form-control form-control-lg"
                                                value="<?php echo e($data->twitter_link); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Linkedin Link<code></code></labelHeader>
                                            <input type="text" name="linkedin_link" class="form-control form-control-lg"
                                                value="<?php echo e($data->linkedin_link); ?>">
                                        </div>



                                        <div class="form-group">
                                            <labelHeader>Our Slogan<code></code></labelHeader>
                                            <input type="text" name="slogan" class="form-control form-control-lg"
                                                value="<?php echo e($data->slogan); ?>">
                                        </div>





                                        <div class="form-group">
                                            <labelHeader>Address<code></code></labelHeader>
                                            <input type="text" name="address" class="form-control form-control-lg"
                                                value="<?php echo e($data->address); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Owner Designation<code></code></labelHeader>
                                            <input type="text" name="owner_designation"
                                                class="form-control form-control-lg"
                                                value="<?php echo e($data->owner_designation); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Owner Message<code></code></labelHeader>

                                            <textarea name="ck_editor_owner_message"><?php echo e($data->owner_message); ?></textarea>
                                            
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Count (One)<code></code></labelHeader>
                                            <input type="text" name="count_one" class="form-control form-control-lg"
                                                value="<?php echo e($data->count_one); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Count (One) Text<code></code></labelHeader>
                                            <input type="text" name="count_one_text" class="form-control form-control-lg"
                                                value="<?php echo e($data->count_one_text); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Count (Two)<code></code></labelHeader>
                                            <input type="text" name="count_two" class="form-control form-control-lg"
                                                value="<?php echo e($data->count_two); ?>">
                                        </div>

                                        <div class="form-group">
                                            <labelHeader>Count (Two) Text<code></code></labelHeader>
                                            <input type="text" name="count_two_text"
                                                class="form-control form-control-lg" value="<?php echo e($data->count_two_text); ?>">
                                        </div>



                                        <div class="form-group">
                                            <?php if($data->logo != null): ?>
                                                <div class="col-lg-3 detail__title">
                                                    <div class="form-group">
                                                        <labelHeader for="blood_group">Existing Logo</labelHeader>
                                                        <input type="hidden" class="form-control" name="existing_logo"
                                                            value="<?php echo e($data->logo); ?>" readonly />
                                                        <img src="<?php echo e(asset('images/web-properties/' . $data->logo)); ?>"
                                                            width="400px" alt="user photo" /><br>
                                                    </div>
                                                </div>
                                                <div class="col-lg-3 detail__title">
                                                    <div class="form-group">
                                                        <labelHeader for="file">Logo</labelHeader>
                                                        <!-- <span class="required">*</span> -->
                                                        <input type="file" name="logo"
                                                            class="form-control form-control-lg" />
                                                    </div>
                                                </div>
                                            <?php else: ?>
                                                <div class="col-lg-6 detail__title">
                                                    <div class="form-group">
                                                        <labelHeader for="file">Logo</labelHeader>
                                                        <!-- <span class="required">*</span> -->
                                                        <input type="file" name="logo"
                                                            class="form-control form-control-lg" />
                                                    </div>
                                                </div>
                                            <?php endif; ?>

                                        </div>

                                        <div class="form-group">
                                            <?php if($data->owner_signature_image != null): ?>
                                                <div class="col-lg-3 detail__title">
                                                    <div class="form-group">
                                                        <labelHeader for="blood_group">Existing Owner Signature Image
                                                        </labelHeader>
                                                        <input type="hidden" class="form-control"
                                                            name="existing_owner_signature_image"
                                                            value="<?php echo e($data->owner_signature_image); ?>" readonly />
                                                        <img src="<?php echo e(asset('images/web-properties/' . $data->owner_signature_image)); ?>"
                                                            width="400px" alt="user photo" /><br>
                                                    </div>
                                                </div>
                                                <div class="col-lg-3 detail__title">
                                                    <div class="form-group">
                                                        <labelHeader for="file">Owner Signature Image</labelHeader>
                                                        <!-- <span class="required">*</span> -->
                                                        <input type="file" name="owner_signature_image"
                                                            class="form-control form-control-lg" />
                                                    </div>
                                                </div>
                                            <?php else: ?>
                                                <div class="col-lg-6 detail__title">
                                                    <div class="form-group">
                                                        <labelHeader for="file">Owner Signature Image</labelHeader>
                                                        <!-- <span class="required">*</span> -->
                                                        <input type="file" name="owner_signature_image"
                                                            class="form-control form-control-lg" />
                                                    </div>
                                                </div>
                                            <?php endif; ?>

                                        </div>

                                    </div>


                                </div>

                                <div class="card-footer text-right">
                                    <button class="btn btn-primary mr-1" type="submit">Update</button>

                                </div>

                        </div>
                    </div>
                    </form>
                </div>
            </div>
    </div>
    </section>


    <!-- End -->
    </div>



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

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

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

<?php echo $__env->make('layouts.app_admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xampp\htdocs\hats-off-moving\resources\views/webProperties/edit.blade.php ENDPATH**/ ?>