
<?php $__env->startSection('title', 'Edit | Team Management'); ?>
    
<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('teams.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <div class="card">
        <div class="card-body">
            <h5 class="card-title">Edit Team</h5>
            <div class="card-content p-2">
                <?php echo e(Form::model($team, [
                        'route' => ['teams.update', $team], 
                        'method' => 'PATCH', 
                        'class' => 'form',
                        'onsubmit' => "return confirm('Are you sure you want to submit these changes? Data may be overwritten')"
                    ])); ?>

                    <?php echo $__env->make('teams.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <div class="text-center">
                        <a href="<?php echo e(route('teams.index')); ?>" class="btn btn-secondary">Cancel</a>
                        <?php echo e(Form::submit('Submit', ['class' => 'btn btn-primary'])); ?>

                    </div>
                <?php echo e(Form::close()); ?>

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

<?php echo $__env->make('layouts.core', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dojotech/public_html/lopmetrics.dojotechsolutions.com/resources/views/teams/edit.blade.php ENDPATH**/ ?>