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

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