<!-- Edit Type Form -->
<div class="container mt-4">
    <div class="card shadow">
        <div class="card-header bg-warning text-white">
            <h5 class="m-0">Edit Kategori ATK</h5>
        </div>
        <div class="card-body">
            <form action="<?php echo site_url('Admin/ATK/Atk_Categories_Controller/update'); ?>" method="post">
                <input type="hidden" name="atk_categories_id" value="<?= $atk->atk_categories_id; ?>">

                <div class="mb-3">
                    <label for="atk_categories_nama" class="form-label">ATK Category Name</label>
                    <input type="text" class="form-control" id="atk_categories_nama" name="atk_categories_nama" 
                           value="<?= set_value('atk_categories_nama', $atk->atk_categories_nama); ?>" 
                           placeholder="Masukkan nama Kategori ATK" required>
                </div>



                <div class="d-flex justify-content-end">
                    <button type="submit" class="btn btn-warning me-2">Update</button>
                    <a href="<?php echo site_url('Admin/ATK/Atk_Categories_Controller/index'); ?>" class="btn btn-secondary">Cancel</a>
                </div>
            </form>
        </div>
    </div>
</div>
