<?php
  echo form_open(base_url('pengaturan/edit'));
  $pengaturan = $this->setting_model->pengaturan();
  $pengaturan2 = $this->setting_model->pengaturan2();
  $pengaturan3 = $this->setting_model->pengaturan3();
  $pengaturan4 = $this->setting_model->pengaturan4();
?>

<div class="form-group row">
    <label for="tampil_pengumuman" class="col-sm-2 col-form-label">Tampilkan Menu Pengumuman</label>:
    <div class="col-sm-9">
      <select name="tampil_pengumuman" class="form-control">
        <option value="1" <?php if($pengaturan4->pengaturan_value==1) { echo "selected"; } ?>>
        Aktif</option>
        <option value="0" <?php if($pengaturan4->pengaturan_value==0) { echo "selected"; } ?>>
        Tidak Aktif</option>       
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="tampil_tanggal" class="col-sm-2 col-form-label">Tampilkan Tanggal di Biodata</label>:
    <div class="col-sm-9">
      <select name="tampil_tanggal" class="form-control">
        <option value="1" <?php if($pengaturan3->pengaturan_value==1) { echo "selected"; } ?>>
        Aktif</option>
        <option value="0" <?php if($pengaturan3->pengaturan_value==0) { echo "selected"; } ?>>
        Tidak Aktif</option>       
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="biodata" class="col-sm-2 col-form-label">Tampilkan Edit Biodata</label>:
    <div class="col-sm-9">
      <select name="biodata" class="form-control">
        <option value="1" <?php if($pengaturan->pengaturan_value==1) { echo "selected"; } ?>>
        Aktif</option>
        <option value="0" <?php if($pengaturan->pengaturan_value==0) { echo "selected"; } ?>>
        Tidak Aktif</option>       
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="password" class="col-sm-2 col-form-label">Tampilkan Edit Password</label>:
    <div class="col-sm-9">
      <select name="password" class="form-control">
        <option value="1" <?php if($pengaturan2->pengaturan_value==1) { echo "selected"; } ?>>
        Aktif</option>
        <option value="0" <?php if($pengaturan2->pengaturan_value==0) { echo "selected"; } ?>>
        Tidak Aktif</option>       
      </select>
    </div>
</div>



<!---simpan,reset,kembali-->
  <div class="form-group row">
    <label for="ok" class="col-sm-2 col-form-label"></label>
    <div class="col-sm-9">
       <button type="submit" class="btn btn-primary">
          <i class="fa fa-save"></i> Simpan
      </button>
      <button type="reset" class="btn btn-info">
          <i class="fa fa-cut"></i> Reset
      </button>
      <a href="<?php echo base_url('dashboard') ?>" class="btn btn-default">
      	<i class="fa fa-backward"></i> Kembali      	
      </a>
    </div>
  </div>

<?php
//form close
echo form_close();
?>