Edit File: bd9687f10fe7374686730180fce608819240f4da.php
<?php $__env->startSection('content'); ?> <!-- // Basic multiple Column Form section start --> <section id="multiple-column-form"> <div class="row match-height"> <div class="col-12"> <div class="card"> <div class="card-header"> <h4 class="card-title"><?php echo e(__('admin.view') . ' ' . __('admin.pages')); ?></h4> </div> <div class="card-content"> <div class="card-body"> <form class="show form-horizontal" > <div class="form-body"> <div class="row"> <?php $__currentLoopData = languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-6 col-12"> <div class="form-group"> <label for="first-name-column"><?php echo e(__('site.title_'.$lang)); ?></label> <div class="controls"> <input type="text" value="<?php echo e(in_array($lang, array_keys($pages->getTranslations('title'))) ? $pages->getTranslations('title')[$lang]:''); ?>" name="title[<?php echo e($lang); ?>]" class="form-control" placeholder="<?php echo e(__('site.write') . __('site.title_'.$lang)); ?>" required data-validation-required-message="<?php echo e(__('admin.this_field_is_required')); ?>" > </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php $__currentLoopData = languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-6"> <div class="form-group"> <div class="controls"> <label for="account-name"><?php echo e(__('admin.description')); ?><?php echo e(__('admin.in_' . $lang)); ?></label> <textarea class="form-control" name="content[<?php echo e($lang); ?>]" id="" cols="30" rows="10" placeholder="<?php echo e(__('admin.about_the_application_in_english')); ?>"><?php echo e(in_array($lang, array_keys($pages->getTranslations('title'))) ? $pages->getTranslations('content')[$lang]:''); ?></textarea> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="col-12 d-flex justify-content-center mt-3"> <a href="<?php echo e(url()->previous()); ?>" type="reset" class="btn btn-outline-warning mr-1 mb-1"><?php echo e(__('admin.back')); ?></a> </div> </div> </div> </form> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <script> $('.show input').attr('disabled' , true) $('.show textarea').attr('disabled' , true) $('.show select').attr('disabled' , true) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/thunderw/public_html/resources/views/admin/pages/show.blade.php ENDPATH**/ ?>
Back to File Manager