관리-도구
편집 파일: f924df752ec515717e54c53e8d5035bb954811a8.php
<?php $__env->startSection('content'); ?> <span class="panel-title d-none"><?php echo e(_lang('Update Page')); ?></span> <form method="post" class="validate" autocomplete="off" action="<?php echo e(action('PageController@update', $id)); ?>" enctype="multipart/form-data"> <div class="row"> <div class="col-lg-8"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Page Details')); ?></span> </div> <div class="card-body"> <?php echo e(csrf_field()); ?> <input name="_method" type="hidden" value="PATCH"> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Title')); ?></label> <input type="text" class="form-control" name="title" value="<?php echo e($page->translation->title); ?>" required> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Body')); ?></label> <textarea class="form-control summernote" name="body"><?php echo e($page->translation->body); ?></textarea> </div> </div> <div class="col-md-12"> <div class="form-group"> <button type="submit" class="btn btn-primary"><?php echo e(_lang('Update')); ?></button> </div> </div> </div> </div> </div> </div> <div class="col-md-4"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Page Settings')); ?></span> </div> <div class="card-body"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Status')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e($page->status); ?>" name="status" required> <option value="1"><?php echo e(_lang('Publish')); ?></option> <option value="0"><?php echo e(_lang('Draft')); ?></option> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Page Template')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e($page->template); ?>" name="template"> <option value=""><?php echo e(_lang('Select Template')); ?></option> <?php echo e(load_custom_template()); ?> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Meta Title')); ?></label> <input type="text" class="form-control" name="meta[meta_title]" value="<?php echo e($page->meta->translation->meta_title); ?>"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Meta Leywords')); ?></label> <input type="text" class="form-control" name="meta[meta_keywords]" value="<?php echo e($page->meta->translation->meta_keywords); ?>"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Meta Description')); ?></label> <textarea name="meta[meta_description]" class="form-control"><?php echo e($page->meta->translation->meta_description); ?></textarea> </div> </div> <div class="col-md-12"> <button type="button" class="choose-media btn btn-light" data-media-type="image" data-input-name="files[page_image]"> <i class="fa fa-folder-open m-r-5"></i> <?php echo e(_lang('Browse Image')); ?> </button> <div class="image-container w-100"> <?php if(isset($page->image->pivot)): ?> <div class="image"> <img src="<?php echo e(asset('storage/app/'. $page->image->file_path)); ?>"> <input type="hidden" name="files[page_image]" value="<?php echo e($page->image->pivot->media_id); ?>"> <i class="remove-media fas fa-times"></i> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> </form> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customdevdevopdi/findjobs.customdev.devopdigital.com/resources/views/backend/page/edit.blade.php ENDPATH**/ ?>