<?= view('admin/layouts/header', [
    'title'     => 'Tambah Kategori',
    'extraHead' => view('admin/kategori/icon_picker_style'),
]) ?>
<?= view('admin/layouts/sidebar', [
    'activeMenu' => 'kategori',
    'userName'   => $userName,
    'userEmail'  => $userEmail,
]) ?>
<?= view('admin/layouts/topbar', [
    'pageTitle'    => 'Tambah Kategori',
    'pageSubtitle' => 'Isi nama kategori dan pilih icon Bootstrap Icons.',
    'topbarAction' => '<a href="' . site_url('admin/kategori') . '" class="btn btn-outline-dark"><i class="bi bi-arrow-left me-1"></i>Kembali</a>',
]) ?>

<?= view('admin/kategori/form', [
    'action'      => site_url('admin/kategori/store'),
    'submitLabel' => 'Simpan Kategori',
]) ?>

<?= view('admin/layouts/footer') ?>
