<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 Login
                </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/sistem/login/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>Role Level</label>
                    <select class="form-control" id="role_id" name="role_id" required>
                        <?php
                        foreach ($role_level as $Role_level) : ?>
                        <option value="<?= $Role_level->id ?>"><?= $Role_level->role_level ?></option>
                        <?php endforeach;
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label>Email</label>
                    <input type="text" class="form-control" id="email" name="email" placeholder="Masukkan Email"
                        required>
                </div>
                <div class="form-group">
                    <label>Username</label>
                    <input type="text" class="form-control" id="username" name="username"
                        placeholder="Masukkan Username" required>
                </div>
                <div class="form-group">
                    <label>No HP</label>
                    <input type="text" class="form-control" id="no_hp" name="no_hp" placeholder="Masukkan No HP"
                        required>
                </div>
                <div class="form-group">
                    <label>Nama Panggilan</label>
                    <input type="text" class="form-control" id="nm_panggilan" name="nm_panggilan"
                        placeholder="Masukkan Nama Panggilan" required>
                </div>
                <div class="form-group">
                    <label>Status Akun</label>
                    <select class="form-control" id="status_akun" name="status_akun" required>
                        <option value="AKTIF">AKTIF</option>
                        <option value="BLOKIR">BLOKIR</option>
                        <option value="PASIF">PASIF</option>
                        <option value="HAPUS">HAPUS</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Gambar Profile</label>
                    <textarea type="text" cols="30" rows="5" class="form-control" id="gambar_profil"
                        name="gambar_profil" placeholder="Masukkan Link Gambar Profile" required></textarea>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanDataLogin" name="simpanDataLogin"
                    class="btn btn-warning">Simpan</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>