<?php $__env->startSection('title', admin_trans('Advertisements') . ' | ' . $advertisement->position); ?>
<?php $__env->startSection('back', route('admin.advertisements.index')); ?>
<?php $__env->startSection('container', 'container-max-lg'); ?>
<?php $__env->startSection('content'); ?>
    <form id="vironeer-submited-form" action="<?php echo e(route('admin.advertisements.update', $advertisement->id)); ?>" method="POST">
        <?php echo csrf_field(); ?>
        <div class="card">
            <div class="card-header d-flex justify-content-between align-items-center">
                <span><strong><?php echo e($advertisement->position); ?></strong> <?php echo $advertisement->size ? '- (' . $advertisement->size . ')' : ''; ?></span>
                <span class="col-3">
                    <input type="checkbox" name="status" data-toggle="toggle"
                        <?php if($advertisement->status): ?> checked <?php endif; ?>>
                </span>
            </div>
            <div class="card-body">
                <div class="mb-0">
                    <textarea id="html-editor" name="code" class="form-control" rows="10"><?php echo e($advertisement->code); ?></textarea>
                </div>
            </div>
        </div>
    </form>
    <?php $__env->startPush('styles_libs'); ?>
        <link rel="stylesheet" href="<?php echo e(asset('vendor/libs/codemirror/codemirror.min.css')); ?>">
        <link rel="stylesheet" href="<?php echo e(asset('vendor/libs/codemirror/monokai.min.css')); ?>">
    <?php $__env->stopPush(); ?>
    <?php $__env->startPush('scripts_libs'); ?>
        <script src="<?php echo e(asset('vendor/libs/codemirror/codemirror.min.js')); ?>"></script>
        <script src="<?php echo e(asset('vendor/libs/codemirror/htmlmixed.js')); ?>"></script>
        <script src="<?php echo e(asset('vendor/libs/codemirror/xml.js')); ?>"></script>
        <script src="<?php echo e(asset('vendor/libs/codemirror/javascript.min.js')); ?>"></script>
        <script src="<?php echo e(asset('vendor/libs/codemirror/sublime.min.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/neofiles.codenine.biz.id/resources/views/backend/advertisements/edit.blade.php ENDPATH**/ ?>