
<?php $__env->startSection('title'); ?>
    <title><?php echo e(__('admin.About Us')); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
    <!-- Main Content -->
    <div class="main-content">
        <section class="section">
            <div class="section-header">
                <h1><?php echo e(__('admin.About Us')); ?></h1>
                <div class="section-header-breadcrumb">
                    <div class="breadcrumb-item active"><a
                            href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('admin.Dashboard')); ?></a></div>
                    <div class="breadcrumb-item"><?php echo e(__('admin.About Us')); ?></div>
                </div>
            </div>
            ​
            <div class="section-body">
                <div class="row mt-4">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body">
                                <form action="<?php echo e(route('admin.about-us.update', $aboutUs->id)); ?>" method="POST"
                                    enctype="multipart/form-data">
                                    <?php echo csrf_field(); ?>
                                    <?php echo method_field('PUT'); ?>
                                    <div class="row">
                                        <div class="form-group col-12">
                                            <div class="d-flex justify-content-between">
                                                <div>
                                                    <label for=""><?php echo e(__('admin.Existing Image')); ?></label>
                                                    <div>
                                                        <img class="sidebar_img" src="<?php echo e(asset($aboutUs->image)); ?>"
                                                            alt="">
                                                    </div>
                                                </div>
                                                <div>
                                                    <p><?php echo e(__('admin.Translations')); ?></p>
                                                    <?php $__empty_1 = true; $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                                        <i
                                                            class="fa <?php echo e($aboutUs->translation($language->code)?->first()?->about_us ? 'fa-check' : 'fa-edit'); ?>"></i>
                                                        <a
                                                            href="<?php echo e(route('admin.about-us.translation', ['id' => $aboutUs->id, 'code' => $language->code])); ?>"><?php echo e(strtoupper($language->code)); ?></a>
                                                        <?php if(!$loop->last): ?>
                                                            ||
                                                        <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                                        <a
                                                            href="<?php echo e(route('admin.about-us.translation', ['id' => $aboutUs->id, 'code' => $language->code])); ?>"><?php echo e(strtoupper(config('app.locale'))); ?></a>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="form-group col-12">
                                            <label for=""><?php echo e(__('admin.New Image')); ?></label>
                                            <input type="file" name="image" class="form-control-file">
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.About Us')); ?> <span class="text-danger">*</span></label>
                                            <textarea name="about_us" cols="30" rows="10" class="summernote"><?php echo e($aboutUs->about_us); ?></textarea>
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.Service')); ?> <span class="text-danger">*</span></label>
                                            <textarea name="service" cols="30" rows="10" class="summernote"><?php echo e($aboutUs->service); ?></textarea>
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.History')); ?> <span class="text-danger">*</span></label>
                                            <textarea name="history" cols="30" rows="10" class="summernote"><?php echo e($aboutUs->history); ?></textarea>
                                        </div>

                                        <div class="form-group col-12">
                                            <label for=""><?php echo e(__('admin.Team Title')); ?></label>
                                            <input type="text" name="team_title" value="<?php echo e($aboutUs->team_title); ?>"
                                                class="form-control">
                                        </div>

                                        <div class="form-group col-12">
                                            <label for=""><?php echo e(__('admin.Team Description')); ?></label>
                                            <input type="text" name="team_description"
                                                value="<?php echo e($aboutUs->team_description); ?>" class="form-control">
                                        </div>

                                        <div class="form-group col-12">
                                            <label for=""><?php echo e(__('admin.Team Status')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <select name="team_visibility" class="form-control" id="">
                                                <option <?php echo e($aboutUs->team_visibility == 1 ? 'selected' : ''); ?>

                                                    value="1"><?php echo e(__('admin.Active')); ?></option>
                                                <option <?php echo e($aboutUs->team_visibility == 0 ? 'selected' : ''); ?>

                                                    value="0"><?php echo e(__('admin.Inactive')); ?></option>
                                            </select>

                                        </div>



                                    </div>
                                    <div class="row">
                                        <div class="col-12">
                                            <button class="btn btn-primary"><?php echo e(__('admin.Update')); ?></button>
                                        </div>
                                    </div>
                                </form>

                            </div>
                        </div>
                    </div>
                </div>
        </section>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home3/paprdcor/topriserealtors.com/resources/views/admin/about-us.blade.php ENDPATH**/ ?>