<!-- Main content -->
<div class="content" id="content">
  <div class='row'>
    <div class='col-lg-12'>
      <div class='panel <?= $web_box_color ?>'>
        <div class='panel-heading'=>
          <h3 class='panel-title bold'>Form Jabatan</h3>
        </div>
        <form action="<?= $action; ?>" method="post" enctype="multipart/form-data">
          <div class='panel-body'>
            <div class='row'>

              <div class='col-md-6'>
                <div class='form-group'>
                  <label for='nama_jabatan'>Nama Jabatan : </label>
                  <input type="text" class="form-control" name="nama_jabatan" id="nama_jabatan" placeholder="Nama Jabatan" value="<?= $nama_jabatan; ?>" />
                  <?= form_error('nama_jabatan') ?>
                </div>
              </div>

              <div class='col-md-6'>
                <div class='form-group'>
                  <label for='atasan_jabatan'>Atasan Jabatan : </label>
                  <?= cmb_dinamis1('atasan_jabatan', 'atasan_jabatan', 'Atasan Jabatan', 'jabatan', 'nama_jabatan', 'id_jabatan', $atasan_jabatan); ?>
                  <!-- <input type="text" class="form-control" name="atasan_jabatan" id="atasan_jabatan" placeholder="Atasan Jabatan" value="<?= $atasan_jabatan; ?>" /> -->
                  <?= form_error('atasan_jabatan') ?>
                </div>
              </div>
              <input type="hidden" name="id_jabatan" value="<?= $id_jabatan; ?>" />

            </div>
          </div>
          <div class='panel-footer'>
            <button type="submit" class="btn btn-primary  pull-right"><?= $button ?></button>
            <a href="javascript:window.history.go(-1);" class="btn btn-default">Batal</a>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>