
<?php $__env->startSection('title'); ?>
    <title><?php echo e(__('admin.Footer')); ?></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.Footer')); ?></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.Footer')); ?></div>
                </div>
            </div>

            <div class="section-body">
                <div class="row mt-4">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body">
                                <div class="d-flex justify-content-end">
                                    <b><?php echo e(__('admin.Translations')); ?></b>
                                </div>
                                <div class="d-flex justify-content-end">
                                    <?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($footer->translation($language->code)?->first()?->address ? 'fa-check' : 'fa-edit'); ?>"></i>
                                        <a
                                            href="<?php echo e(route('admin.footer.translation', ['id' => $footer->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.footer.translation', ['id' => $footer->id, 'code' => $language->code])); ?>"><?php echo e(strtoupper(config('app.locale'))); ?></a>
                                    <?php endif; ?>
                                </div>
                                <form action="<?php echo e(route('admin.footer.update', $footer->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">
                                            <label><?php echo e(__('admin.Email')); ?> <span class="text-danger">*</span></label>
                                            <input type="email" name="email" class="form-control"
                                                value="<?php echo e($footer->email); ?>">
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.Phone')); ?> <span class="text-danger">*</span></label>
                                            <input type="text" name="phone" class="form-control"
                                                value="<?php echo e($footer->phone); ?>">
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.Address')); ?> <span class="text-danger">*</span></label>
                                            <input type="text" name="address" class="form-control"
                                                value="<?php echo e($footer->address); ?>">
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.First Column Title')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="text" name="first_column" class="form-control"
                                                value="<?php echo e($footer->first_column); ?>">
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.Second Column Title')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="text" name="second_column" class="form-control"
                                                value="<?php echo e($footer->second_column); ?>">
                                        </div>

                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.Third Column Title')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="text" name="third_column" class="form-control"
                                                value="<?php echo e($footer->third_column); ?>">
                                        </div>





                                        <div class="form-group col-12">
                                            <label><?php echo e(__('admin.Copyright')); ?> <span class="text-danger">*</span></label>
                                            <input type="text" name="copyright" class="form-control"
                                                value="<?php echo e($footer->copyright); ?>">
                                        </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 /home/fwvrhhfw/topriserealtors.com/resources/views/admin/website_footer.blade.php ENDPATH**/ ?>