<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" class="card-body" disabled>
    <input type="hidden" id="id_departemen" class="form-control" value="<?= ((isset($data)) ? md5($data->id_departemen) : '') ?>">
    <div class="form-group">
        <label><?= $this->lang->line('kode_departemen') ?> <i class="text-danger">*</i></label>
        <input type="text" id="kd_departemen" class="form-control" value="<?= ((isset($data)) ? $data->kode : '') ?>">
    </div>

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

    <!--  <div class="form-group">
        <label>Jenis </label>
        <select id="jenis" name="jenis" class="form-control">
            <option value="">Pilih Jenis</option>
            <option value="HR" <?= ((isset($data) and $data->jenis == 'HR') ? 'selected' : '') ?>>HR</option>
            <option value="Finance" <?= ((isset($data) and $data->jenis == 'Finance') ? 'selected' : '') ?>>Finance</option>
        </select>
    </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" class="btn" style="display:none"><?= $this->lang->line('button_form_tambah_baru') ?></button>
            <button class="btn_save ladda-button" data-style="expand-left"></button>
        </div>
    </div><!-- ./row -->
</div>
