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

                <div class="mb-3">
                    <label for="uom_categories_nama" class="form-label">Nama Inventory Type</label>
                    <input type="text" class="form-control" id="uom_categories_nama" name="uom_categories_nama" 
                           value="<?= set_value('uom_categories_nama', $uom->uom_categories_nama); ?>" 
                           placeholder="Masukkan nilai UoM" 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/Uom_Categories_Controller/index'); ?>" class="btn btn-secondary">Cancel</a>
                </div>
            </form>
        </div>
    </div>
</div>
