<?php $__env->startSection('title', $panel . ' ' . $action); ?>
<?php $__env->startSection('content'); ?>
   <?php echo $__env->make('backend.includes.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- Main content -->
    <section class="content">

        <!-- Default box -->
        <div class="card">
            <div class="card-header">
                <h3 class="card-title"><?php echo e($action); ?> <?php echo e($panel); ?>  <a href="<?php echo e(route($base_route . '.index')); ?>" class="btn btn-info">  <i class="fa fa-pen"></i> Manage <?php echo e($panel); ?> </a>  
                    
                </h3>
            </div>
            <div class="card-body">
               <div class="table table-responsive">
                   <table class="table table-bordered">
                    <thead>
                    <th>Title</th>
                    <th>Value</th>
                    </thead>
                       <tbody>
                       <tr>
                           <td>Name</td>
                           <td><?php echo e($data['row']->name); ?></td>
                       </tr>
                       <tr>
                            <td>Position</td>
                            <td><?php echo e($data['row']->position); ?></td>
                        </tr>
                        <tr>
                            <td>Description</td>
                            <td><?php echo $data['row']->description; ?></td>
                        </tr>
                       
                       <tr>
                           <td>Image</td>
                           <td><img src="<?php echo e(asset($image_path . '/' . $data['row']->image)); ?>" alt="<?php echo e($data['row']->title); ?>" width="100" height="100" i> </td>
                       </tr>
                       <tr>
                           <td>Status</td>
                           <td><?php if($data['row']->status == 1): ?> <p class="text text-success">Active</p><?php else: ?> <p class="text text-danger">De Active</p><?php endif; ?></td>
                       </tr>
                       <tr>
                           <td>Created By</td>
                           <td><?php echo e(\Illuminate\Support\Facades\Auth::user($data['row']->created_by)->name); ?></td>
                       </tr>
                       <tr>
                           <td>Created At</td>
                           <?php ($create_at = date_create($data['row']->created_at)); ?>
                           <td><?php echo e(date_format($create_at, 'd F Y')); ?></td>
                       </tr>
                       <?php if($data['row']->updated_by != ''): ?>
                       <tr>
                           <td>Updated By</td>
                           <td><?php echo e(\Illuminate\Support\Facades\Auth::user($data['row']->updated_by)->name); ?></td>
                       </tr>
                       <tr>
                           <td>Updated At</td>
                           <?php ($updated_at = date_create($data['row']->updated_at)); ?>
                           <td><?php echo e(date_format($updated_at, 'd F Y')); ?></td>
                       </tr>
                           <?php endif; ?>
                       </tbody>
                   </table>
               </div>
            </div>
            <!-- /.card-body -->
            <div class="card-footer">
                <a href="<?php echo e(route($base_route . '.edit', $data['row']->id)); ?>" class="btn btn-info"><i class="fa fa-pen"></i> Edit</a>
            </div>
            <!-- /.card-footer-->
        </div>
        <!-- /.card -->

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

<?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/canvascollegeedu/public_html/resources/views/backend/message/show.blade.php ENDPATH**/ ?>