
<?php $__env->startSection('title', 'Yeni Slider'); ?>

<?php echo $__env->make('slider::sidebar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<?php $__env->startSection('foot_hook'); ?>
@parent
<script>

    CKEDITOR.replace('value', {
        filebrowserUploadUrl: '/component/slider/uploader',
        height: '400px'
    });

</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('assets.form.ckeditor', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<?php $__env->startSection('_content'); ?>

<h1 class="title">Yeni Slider Oluştur</h1>

<?php echo Former::open_for_files()->method('POST')->action(URL::to('component/slider/create')); ?>

<?php echo Former::text('title')->label('Başlık')->placeholder('Başlık'); ?>

<div class="form-group">
    <label for="title" class="control-label">Resim 1</label>
    <input type="file" id="background" name="background" multiple accept="image/*">
</div><div class="form-group">    <label for="title" class="control-label">Resim 2</label>    <input type="file" id="background2" name="background2" multiple accept="image/*"></div>

<div class="form-group">
    <textarea style="font-size: 14pt;" id="value" name="value" class="form-control" placeholder="Açıklama giriniz..."></textarea>
</div>

<button type="submit" class="btn btn-danger">Kaydet ve Slider Oluştur</button>

<?php echo Former::close(); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.wrap', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>