<?php $__env->startSection('title', $panel . ' ' . $action); ?>
<?php $__env->startSection('content'); ?>
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1><?php echo e($panel); ?> Management</h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>">Home</a></li>
                        <li class="breadcrumb-item active"><?php echo e($action); ?> <?php echo e($panel); ?></li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>

    <!-- 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>
            <?php echo e(Form::model($data['row'], ['route' => [$base_route . '.update', $data['row']->id], 'method' => 'post', 'files' => true])); ?>

            <?php echo method_field('put'); ?>
            <div class="card-body">
                <?php echo $__env->make('backend.includes.flash_messge', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php echo $__env->make($view_path . '.mainForm', ['page' => 'edit'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
            <!-- /.card-body -->
            <div class="card-footer">
                <button type="submit" class="btn btn-primary"> <i class="fa fa-pen"></i> Update</button>
            </div>
        <?php echo e(Form::close()); ?>

        <!-- /.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/program/edit.blade.php ENDPATH**/ ?>