<div class="row justify-content-center"><div class="col-lg-10"><div class="card">
    <div class="card-header"><h5 class="mb-0"><i class="fas fa-edit me-2"></i><?= lang('common.edit') ?>: <?= e($event['title_en']) ?></h5></div>
    <div class="card-body">
        <form method="POST" action="/events/<?= $event['id'] ?>" data-ajax="true">
            <?= csrf_field() ?>
            <?php $ev = $event; include __DIR__ . '/partials/_event_form.php'; ?>
            <div class="mt-4 d-flex gap-2">
                <button type="submit" class="btn btn-primary"><i class="fas fa-save me-1"></i><?= lang('common.save') ?></button>
                <a href="/events/<?= $event['id'] ?>" class="btn btn-secondary"><?= lang('common.cancel') ?></a>
            </div>
        </form>
    </div>
</div></div></div>