<div class="modal fade" id="tambahDataArisan" tabindex="-1" role="dialog" aria-labelledby="tambahDataArisanTitle"
    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="tambahDataArisanTitle">
                    Tambah Arisan Motor
                </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('arisan/data/kelompok_motor/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 Kelompok</label>
                    <input type="text" class="form-control" id="nm_kelompok" name="nm_kelompok"
                        placeholder="Nama Kelompok Arisan" required>
                    <small>*Misal : Vario 160cc 2024</small>
                </div>
                <div class="form-group">
                    <label>Anggota Kelompok Arisan</label>
                    <input type="number" class="form-control" id="ttl_anggota" name="ttl_anggota"
                        placeholder="Target Anggota Kelompok Arisan" required>
                </div>
                <div class="form-group">
                    <label>Iuran per Bulan</label>
                    <input type="number" class="form-control" min="1" id="tagihan_iuran" name="tagihan_iuran"
                        placeholder="Iuran per Bulan" required>
                </div>
                <div class="form-group">
                    <label>Harga Standar</label>
                    <input type="number" class="form-control" min="1" id="hg_modal" name="hg_modal"
                        placeholder="Harga Modal Pembelian Motor/Barang" required>
                </div>
                <div class="form-group">
                    <label>Administrasi</label>
                    <input type="number" class="form-control" id="fee_admin" name="fee_admin"
                        placeholder="Besaran Fee Administrasi" required>
                </div>
                <div class="form-group">
                    <label>Dana Kehilangan</label>
                    <input type="number" class="form-control" min="1" id="dana_kehilangan" name="dana_kehilangan"
                        placeholder="Dana Kehilangan Wajib" required>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanArisanMotor" name="simpanArisanMotor"
                    class="btn btn-primary">Tambah</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>