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



    <div class="col-lg-12 col-12 mt-4 mt-lg-0">
        <div class="card">
            <div class="card-header pb-0 p-3">
                <div class="row mb-4">
                    <div class="col-6 d-flex align-items-center">
                        <h6 class="mb-0"><?php echo e($tolearn->topic); ?></h6>
                    </div>
                    <div class="col-6 text-end">
                        <a href="/add-tolearn?id=<?php echo e($tolearn->id); ?>" class="btn btn-outline-primary btn-sm mb-0"><?php echo e(__('Edit')); ?>

                        </a>
                        <a href="/tolearn" class="btn btn-outline-primary btn-sm mb-0">
                            <?php echo e(__('List tolearns')); ?>

                        </a>

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

            <div class="card-body">

                <div class="row mb-4">
                    <div class="col">
                        <h6><?php echo e(__('Start date')); ?></h6>
                        <span>
                                            <div class="ms-auto">
                            <span class="badge badge-sm bg-gradient-success"><?php if(!empty($tolearn->start_date)): ?>
                                    <?php echo e($tolearn->start_date->format(config('app.date_format'))); ?>

                                <?php endif; ?></span>
                        </div>

                                        </span>
                    </div>
                    <div class="col">
                        <h6><?php echo e(__('End date')); ?></h6>
                        <span>
                                            <div class="ms-auto">
                            <span class="badge badge-sm bg-gradient-dark"><?php if(!empty($tolearn->end_date)): ?>
                                    <?php echo e($tolearn->end_date->format(config('app.date_format'))); ?>

                                <?php endif; ?></span>
                        </div>

                                        </span>
                    </div>


                </div>
                <div class="d-flex bg-gray-100 border-radius-lg p-3 mb-4">
                    <h4 class="my-auto">
                        <span class="text-secondary text-sm me-1"></span><?php echo e($tolearn->title); ?><span class="text-secondary text-sm ms-1"></span>
                    </h4>

                </div>
                <div class="">
                    <?php echo $tolearn->descriiption; ?>


                </div>

            </div>



        </div>
    </div>







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

<?php echo $__env->make('layouts.primary', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/sadia/Documents/valet/focus-saas/resources/views/actions/view-tolearn.blade.php ENDPATH**/ ?>