<div class="card-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
    <h3 class="title modal-title"></h3>
</div>
<div id="form_input_m_aktivitas" class="card-body" disabled>
    <input type="hidden" id="id_activity_m" class="form-control" value="<?= ((isset($data)) ? md5($data->id_activity_m) : '') ?>">
    
    <div class="form-group">
        <label><?= $this->lang->line('nama_aktivitas') ?> <span class="text-danger">*</span></label>
        <input type="text" id="nama" class="form-control" value="<?= ((isset($data->nama)) ? $data->nama : '') ?>">
    </div>

    <div class="form-group">
        <label><?= $this->lang->line('poin') ?> <span class="text-danger">*</span></label>
        <input type="number" id="poin" class="form-control" value="<?= ((isset($data->poin)) ? $data->poin : '') ?>">
    </div>

    <div class="form-group">
        <label><?= $this->lang->line('lokasi') ?></label>
        <div class="row custom-radio-blue">
            <div class="col-md-6">
                <section class="light">
                    <label id="label">
                        <input type="radio" name="flag_lokasi" value="0" <?= (empty($data->flag_lokasi) ? "checked" : "") ?>>
                        <span class="design"></span>
                        <span><?= $this->lang->line('tidak') ?></span>
                    </label>
                </section>
            </div>
            <div class="col-md-6">
                <section class="light">
                    <label id="label">
                        <input type="radio" name="flag_lokasi" value="1" <?= ((isset($data) && $data->flag_lokasi == "1") ? "checked" : "") ?>>
                        <span class="design"></span>
                        <span><?= $this->lang->line('ya') ?></span>
                    </label>
                </section>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label><?= $this->lang->line('upload_gambar') ?></label>
        <div class="row custom-radio-blue">
            <div class="col-md-6">
                <section class="light">
                    <label id="label">
                        <input type="radio" name="flag_upload_foto" value="0" <?= (empty($data->flag_upload_foto) ? "checked" : "") ?>>
                        <span class="design"></span>
                        <span><?= $this->lang->line('tidak') ?></span>
                    </label>
                </section>
            </div>
            <div class="col-md-6">
                <section class="light">
                    <label id="label">
                        <input type="radio" name="flag_upload_foto" value="1" <?= ((isset($data) && $data->flag_upload_foto == "1") ? "checked" : "") ?>>
                        <span class="design"></span>
                        <span><?= $this->lang->line('ya') ?></span>
                    </label>
                </section>
            </div>
        </div>
    </div>
</div>
<div class="card-footer">
    <div class="row">
        <div class="col-md-7 text-left">
            <div id="message"></div>
        </div>
        <div class="col-md-5 text-right">
            <button id="btn_new_input_m_aktivitas" class="btn" style="display:none"><?= $this->lang->line('button_form_tambah_baru') ?></button>
            <button class="btn_save_m_aktivitas ladda-button" data-style="expand-left"></button>
        </div>
    </div><!-- ./row -->
</div>
