<?php $__env->startSection('content'); ?>
<div class="container py-4">
    <div class="row justify-content-center">
        <div class="col-lg-10">

            <div class="d-flex align-items-center mb-4">
                <a href="<?php echo e(route('mailmove.index')); ?>" class="btn btn-sm btn-outline-secondary me-3" id="btn-back">
                    <i class="bi bi-arrow-left"></i>
                </a>
                <h1 class="h4 mb-0 fw-bold">Edit MailMove <span class="text-muted">#<?php echo e($mailmove->id); ?></span></h1>
            </div>

            <div class="card shadow-sm border-0">
                <div class="card-body p-4">
                    <form method="POST" action="<?php echo e(route('mailmove.update', $mailmove)); ?>" id="mailmove-edit-form">
                        <?php echo csrf_field(); ?>
                        <?php echo method_field('PUT'); ?>

                        <?php echo $__env->make('mailmove._form', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

                        <div class="d-flex gap-2 mt-4 pt-2 border-top">
                            <button type="submit" class="btn btn-primary" id="btn-save-edit">
                                <i class="bi bi-check-lg me-1"></i> Save Changes
                            </button>
                            <a href="<?php echo e(route('mailmove.index')); ?>" class="btn btn-outline-secondary" id="btn-cancel-edit">
                                Cancel
                            </a>
                        </div>
                    </form>
                </div>
            </div>

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

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\mailmove\resources\views/mailmove/edit.blade.php ENDPATH**/ ?>