<div class="modal fade" id="tambahWA" tabindex="-1" role="dialog" aria-labelledby="tambahWATitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="tambahWATitle">
                    Sistem API WA
                </h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <?php echo form_open_multipart('owner/database/kpi/komponen/crud'); ?>
                <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>"
                    value="<?= $this->security->get_csrf_hash(); ?>" style="display: none">
                <div class="form-group">
                    <label>Nama Komponen</label>
                    <input type="text" class="form-control" id="nm_komp" name="nm_komp"
                        placeholder="Masukkan Nama Komponen" required>
                </div>
                <div class="form-group">
                    <label>Keterangan Komponen</label>
                    <textarea type="text" cols="30" rows="5" class="form-control" id="ket_komp" name="ket_komp"
                        placeholder="Keterangan Komponen KPI" required></textarea>
                </div>
                <div class="form-group">
                    <label>Persentase Komponen</label>
                    <input type="text" class="form-control" id="pers_komp" name="pers_komp"
                        placeholder="Persentase Komponen" required>
                </div>
                <div class="form-group">
                    <label>Status Komponen</label>
                    <select class="form-control" id="sts_komp" name="sts_komp" required>
                        <option value="AKTIF">AKTIF</option>
                        <option value="HAPUS">HAPUS</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Target Komponen</label>
                    <select class="form-control" id="tgt" name="tgt" required>
                        <option value="MARKETING">MARKETING</option>
                        <option value="KARYAWAN">KARYAWAN</option>
                    </select>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanDataKomponen" name="simpanDataKomponen"
                    class="btn btn-warning">Simpan</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>