<?php
//form edit open
echo form_open(base_url('pengumuman_setting/edit/'.$pengumuman->no_pendaftaran));
?>

<div class="form-group row">
    <label class="col-sm-2 col-form-label">Nama Lengkap</label>:
    <div class="col-sm-9">
      <?php
      echo $pengumuman->nama_lengkap;
      ?>
    </div>
</div>

<div class="form-group row">
    <label for="status" class="col-sm-2 col-form-label">Sekolah Asal</label>:
    <div class="col-sm-9">
      <?php
      echo $pengumuman->sekolah_asal;
      ?>
    </div>
</div>

<div class="form-group row">
    <label for="status" class="col-sm-2 col-form-label">Program Keahlian</label>:
    <div class="col-sm-9">
      <?php
      echo $pengumuman->kompetensi;
      ?>
    </div>
</div>

<div class="form-group row">
    <label for="status" class="col-sm-2 col-form-label">Edit Status Kelulusan</label>:
    <div class="col-sm-9">
      <select name="status" class="form-control">
        <option value="LULUS" <?php if($pengumuman->status=="LULUS") { echo "selected"; } ?>>
        LULUS</option>
        <option value="BELUM LULUS" <?php if($pengumuman->status=="BELUM LULUS") { echo "selected"; } ?>>
        BELUM LULUS</option>    
        <option value="TIDAK LULUS" <?php if($pengumuman->status=="TIDAK LULUS") { echo "selected"; } ?>>
        TIDAK LULUS</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('pengumuman_setting') ?>" class="btn btn-default">
      	<i class="fa fa-backward"></i> Kembali      	
      </a>
    </div>
  </div>

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