<!-- 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 Data Divisi</h5>
        </div>
        <div class="card-body">
            <form action="<?php echo site_url('Admin/Option/Divisi_Categories_Controller/update'); ?>" method="post">
                <input type="hidden" name="divisi_categories_id" value="<?= $divisi->divisi_categories_id; ?>">

                <div class="mb-3">
                    <label for="divisi_categories_nama" class="form-label">Nama Divisi</label>
                    <input type="text" class="form-control" id="divisi_categories_nama" name="divisi_categories_nama" 
                           value="<?= set_value('divisi_categories_nama', $divisi->divisi_categories_nama); ?>" 
                           placeholder="Masukkan nama Divisi" 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/Option/Divisi_Categories_Controller/index'); ?>" class="btn btn-secondary">Cancel</a>
                </div>
            </form>
        </div>
    </div>
</div>
