

<?php $__env->startSection('content'); ?>
<div class="side-title">
    <h3><?php echo e($head ?? ''); ?></h3>
</div>

<div class="border-item">
    <form class="form-row" >
        <?php if($notification->type == '0'): ?>

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('title', getCurrentLocale()) ?? __('notifications.title')); ?> </label>
            <input disabled type="text" class="form-control <?php echo e($errors->has('title') ? 'is-invalid' : ''); ?>" name="title" placeholder="<?php echo e(meta('title', getCurrentLocale()) ??__('notifications.title')); ?>" value='<?php echo e(old("title", $notification->title ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6"></div>

        <div class="form-group col-lg-12">
            <label><?php echo e(meta('description', getCurrentLocale()) ?? __('notifications.description')); ?> </label>
            <textarea disabled type="number" class="form-control <?php echo e($errors->has('description') ? 'is-invalid' : ''); ?>" name="description" placeholder="<?php echo e(meta('description', getCurrentLocale()) ?? __('notifications.description')); ?>"><?php echo e(old("description", $notification->description ?? "")); ?></textarea>
        </div>
        <?php else: ?>
        
  
        
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('title', getCurrentLocale()) ?? __('tasks.title')); ?> </label>
            <input type="text" disabled class="form-control" value='<?php echo e(old("title", $task->title ?? "")); ?>'/>
        </div>

    
           <div class="form-group col-lg-6">
            <label><?php echo e(meta('description', getCurrentLocale()) ?? __('tasks.description')); ?> </label>
            <textarea class="form-control" disabled><?php echo e($task->description); ?></textarea>  
        </div>
           <div class="form-group col-lg-6">
            <label><?php echo e(meta('time', getCurrentLocale()) ?? __('tasks.time')); ?> </label>
           <input type="text" disabled class="form-control" value='<?php echo e(old("time", $task->time ?? "")); ?>'/>
        </div>
          <?php if($task ?? ''  && $task->id): ?>
        <?php
        $start =  str_replace(" ","T",$task->start);
        $end =  str_replace(" ","T",$task->end);
       
        ?>
        <?php endif; ?>
          <div class="form-group col-lg-6">
            <label><?php echo e(meta('start', getCurrentLocale()) ?? __('tasks.start')); ?> </label>
            <input type="datetime-local" class="form-control" disabled value='<?php echo e(old("start", $start ?? "")); ?>'/>
        </div>
       
          <div class="form-group col-lg-6">
            <label><?php echo e(meta('end', getCurrentLocale()) ?? __('tasks.end')); ?> </label>
            <input type="datetime-local" class="form-control" disabled value='<?php echo e(old("end", $end ?? "")); ?>'/>
        </div>
        
       
        
        
        
              <div class="row pricing-list-item border-item mb-4 col-lg-12" <?php if(!($task ?? ''  && $task->id)): ?>  style="display:none" <?php endif; ?> id="files">
                 <?php if($task ?? ''  && $task->id): ?>
                    <?php $__currentLoopData = $task_files; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    
               <div class="form-group col-lg-12">
            <label><?php echo e(meta('file', getCurrentLocale()) ?? __('tasks.file')); ?> </label>

            <div class="images main_image<?php echo e($key); ?> <?php echo e(old('file', $row->file ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                <div class="col-lg-12">
                    <div class="items">
                        <div class="img">
                            <a  id="lfm"  class="lfm" data-hide=".pick_button">
                               <?php echo e($row->file); ?>

                            </a>
                        </div>
                         </div>
                </div>
            </div>

           
        </div>
            
             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
             <?php endif; ?>
                </div>

        
        
        
        
       <div class="border-item photos col-md-12 other_image_container">
            <div class="row">
                <?php if($task ?? false): ?>
                    <?php $__currentLoopData = $task_photos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-md-4">
                            <div class="items">
                                <div class="img">
                                    <a href="<?php echo e(asset($photo->file ?? '')); ?>" data-fancybox="gallery"><img src="<?php echo e(asset($photo->file ?? '')); ?>" alt=""></a>
                                </div>
                                <input type="hidden" name="images[]" value="<?php echo e($photo->file ?? ""); ?>">
                                
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </div>
            
        </div>
       
       
        
        <?php endif; ?>
        
    </form>
</div>

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

<?php $__env->startSection('inner_js'); ?>
    <!-- Editor JS files -->

            <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            imagePath = "<?php echo e(asset('')); ?>";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/green_apple/resources/views/admin/notifications/form.blade.php ENDPATH**/ ?>