

<?php $__env->startSection('title', 'Edit lead'); ?>

<?php $__env->startSection('content'); ?>
    <div class="portal-page-header d-flex justify-content-between align-items-center flex-wrap gap-2 mb-3">
        <h1 class="h4 mb-0">Edit lead</h1>
        <?php if(!empty($returnToMyTasks)): ?>
            <a href="<?php echo e(route('leads.show', $lead)); ?>" class="btn btn-portal-outline btn-sm">Back to detail</a>
        <?php else: ?>
            <a href="<?php echo e(route('leads.listing')); ?>" class="btn btn-portal-outline btn-sm">Back to listing</a>
        <?php endif; ?>
    </div>
    <div class="row justify-content-center">
        <div class="col-lg-8">
            <div class="portal-card">
                <div class="card-body">
                    <?php echo $__env->make('leads.partials.form', ['action' => route('leads.update', $lead), 'method' => 'PUT', 'lead' => $lead, 'statuses' => $statuses, 'tradefairs' => $tradefairs, 'continentsQuick' => $continentsQuick], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\lt\resources\views/leads/edit.blade.php ENDPATH**/ ?>