Sindbad~EG File Manager

Current Path : /home/webg5288/laravel/compro/storage/framework/views/
Upload File :
Current File : //home/webg5288/laravel/compro/storage/framework/views/90e0b0860749f210928c768b60d33eb241aad6d3.php

<?php $__env->startSection('title', 'Service dan Layanan'); ?>

<?php $__env->startSection('breadcrumbs', 'Edit Service dan Layanan'); ?>

<?php $__env->startSection('second-breadcrumb'); ?>
    <li>Edit</li>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('css'); ?>
    <script src="/templateEditor/ckeditor/ckeditor.js"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-body">
                    <div class="col-12 mb-3">
                        <h3 align="center"></h3>
                    </div>
                    <form action="<?php echo e(route('destinations.update', [$destination->id])); ?>" method="POST" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>
                        <?php echo method_field('PUT'); ?>
                        <div class="col-10">
                            <div class="mb-4">
                                <label for="title" class="font-weight-bold">Title</label>
                                <input type="text" name="title" placeholder="Destination Title..." class="form-control <?php echo e($errors->first('title') ? "is-invalid" : ""); ?>" value="<?php echo e($destination->title); ?>" required>
                                <div class="invalid-feedback"> <?php echo e($errors->first('title')); ?></div>
                            </div>
                            <div class="mb-3">
                                <label for="image" class="font-weight-bold d-flex">Image</label>
                                <?php if($destination->image): ?>
                                    <img src="<?php echo e(asset('destinations_image/'.$destination->image)); ?>" alt="" width="120px">
                                <?php else: ?>
                                    No Image
                                <?php endif; ?>
                                <input type="file" name="image" class="form-control mt-2" >
                                <small class="text-muted">Kosongkan jika tidak ingin mengubah gambar.</small>
                            </div>

                            <div class="mb-3">
                                <label for="content" class="font-weight-bold">Content</label>
                                <textarea id="content" class="form-control ckeditor" name="content" rows="10" cols="50"><?php echo e($destination->content); ?></textarea>
                            </div>
                            <div class="mb-3 mt-4">
                                <button class="btn btn-secondary" name="save_action" value="DRAFT">Save as draft</button>
                                <button class="btn btn-success" name="save_action" value="PUBLISH">Publish</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    
    <script>
        CKEDITOR.replace( 'content', {
            filebrowserUploadUrl    : "<?php echo e(route('articles.upload', ['_token' => csrf_token()])); ?>",
            filebrowserUploadMethod : 'form'
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\DEVELOP\LARAVEL SOURCE\compro\resources\views/destinations/edit.blade.php ENDPATH**/ ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists