<?php $__env->startSection('content'); ?>
<div class="container-fluid">
    <div class="page-titles">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javascript:void(0)">Settings</a></li>
            <li class="breadcrumb-item active"><a href="<?php echo e(URL::to('/section')); ?>">Section</a></li>
        </ol>
    </div>
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-primary">
                    <div class="card-header">
                        <b>Show Section</b>
                    </div>
                    <div class="card-body">
                        <form id="userregform" class="form-horizontal" action="<?php echo e(URL::to('/show_section_post')); ?>" method="post" autocomplete="off" enctype="multipart/form-data">
                            <?php echo e(csrf_field()); ?>

                            <div class="form-group">
                                <label><b>Organisation</b></label> : 
                                 <?php echo e($sections->organisation->organisation_name); ?>

                            </div>
                            <div class="form-group">
                                <label><b>Department</b></label> : 
                                 <?php echo e($sections->department->department_name); ?>

                            </div>
                            <div class="form-group">
                                <label>Section Name</label>
                                <input type="text" class="form-control" id="section_name" name="section_name" placeholder="Enter Section Name" required value="<?php echo e($sections->section_name); ?>" maxlength="250">
                                <input type="hidden" name="section_id" id="section_id" value="<?php echo e($sections->id); ?>">
                            </div>
                            <div class="form-group">
                                <label>Remarks</label>
                                <input type="text" class="form-control input-default" id="remarks" name="remarks" placeholder="Enter Remarks" value="<?php echo e($sections->remarks); ?>">
                            </div>
                            <div class="card-footer">
                              <button type="submit" class="btn btn-primary">Submit</button>
                              <a href="<?php echo e(URL::to('/section')); ?>" title="View Facility" class="btn btn-warning">Back</a>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function() {
            toastr.options.timeOut = 10000;
            <?php if(Session::has('error')): ?>
                toastr.error('<?php echo e(Session::get('error')); ?>');
            <?php elseif(Session::has('success')): ?>
                toastr.success('<?php echo e(Session::get('success')); ?>');
            <?php endif; ?>
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/ksstmprod/resources/views/Admin/Settings/show_section.blade.php ENDPATH**/ ?>