<?php require __DIR__ . '/../../layouts/header.php'; ?>
<div class="d-flex justify-content-between align-items-center mb-4">
    <h1 class="fw-bold mb-0"><?= e(trans('edit_setting')) ?></h1>
    <a href="<?= e(base_path('admin/settings')) ?>" class="btn ec-btn btn-outline-secondary rounded-3"><?= e(trans('back')) ?></a>
</div>
<div class="ec-card  ">
    <div class="ec-card-body p-4">
        <form method="post" action="<?= e(base_path('admin/settings/edit?id=' . (int) $row['id'])) ?>">
            <input type="hidden" name="_csrf" value="<?= e(csrf_token()) ?>">
            <?php require __DIR__ . '/form.php'; ?>
            <div class="mt-4">
                <button type="submit" class="btn ec-btn btn-success rounded-3"><?= e(trans('save')) ?></button>
            </div>
        </form>
    </div>
</div>
<?php require __DIR__ . '/../../layouts/footer.php'; ?>
