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


<div class="form-group row">
    <label for="shun" class="col-sm-2 col-form-label">Formulir</label>:
    <div class="col-sm-9">
      <select name="shun" class="form-control">
        <option value="-" <?php if($formulir->shun=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->shun=="Sudah") { echo "selected"; } ?>>
        Sudah</option>           
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="akte" class="col-sm-2 col-form-label">FC. Akte Kelahiran</label>:
    <div class="col-sm-9">
      <select name="akte" class="form-control">
        <option value="-" <?php if($formulir->akte=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->akte=="Sudah") { echo "selected"; } ?>>
        Sudah</option>         
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="kk" class="col-sm-2 col-form-label">FC. Kartu Keluarga</label>:
    <div class="col-sm-9">
      <select name="kk" class="form-control">
        <option value="-" <?php if($formulir->kk=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->kk=="Sudah") { echo "selected"; } ?>>
        Sudah</option>      
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="ktp" class="col-sm-2 col-form-label">FC. KTP Ortu</label>:
    <div class="col-sm-9">
      <select name="ktp" class="form-control">
        <option value="-" <?php if($formulir->ktp=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->ktp=="Sudah") { echo "selected"; } ?>>
        Sudah</option>         
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="nisn" class="col-sm-2 col-form-label">FC. NISN</label>:
    <div class="col-sm-9">
      <select name="nisn" class="form-control">
       <option value="-" <?php if($formulir->nisn=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->nisn=="Sudah") { echo "selected"; } ?>>
        Sudah</option>         
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="baik_narkoba" class="col-sm-2 col-form-label">Baik & Bebas Narkoba</label>:
    <div class="col-sm-9">
      <select name="baik_narkoba" class="form-control">
       <option value="-" <?php if($formulir->baik_narkoba=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->baik_narkoba=="Sudah") { echo "selected"; } ?>>
        Sudah</option>         
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="ket_yatim" class="col-sm-2 col-form-label">Surat Keterangan Yatim*</label>:
    <div class="col-sm-9">
      <select name="ket_yatim" class="form-control">
       <option value="-" <?php if($formulir->ket_yatim=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->ket_yatim=="Sudah") { echo "selected"; } ?>>
        Sudah</option>         
      </select>
      <small class="form-text text-muted"><i>
				Diisi khusus Yatim</i>
			</small>      
    </div>
</div>

<div class="form-group row">
    <label for="kip" class="col-sm-2 col-form-label">FC. Kartu Indonesia Pintar (KIP)*</label>:
    <div class="col-sm-9">
      <select name="kip" class="form-control">
       <option value="-" <?php if($formulir->kip=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->kip=="Sudah") { echo "selected"; } ?>>
        Sudah</option>         
      </select>
      <small class="form-text text-muted"><i>
				Diisi bagi yang memiliki KIP</i>
			</small>
    </div>
</div>

<div class="form-group row">
    <label for="slip_btn" class="col-sm-2 col-form-label">FC. Bukti Slip Transaksi</label>:
    <div class="col-sm-9">
      <select name="slip_btn" class="form-control">
        <option value="-" <?php if($formulir->slip_btn=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->slip_btn=="Sudah") { echo "selected"; } ?>>
        Sudah</option>     
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="skl" class="col-sm-2 col-form-label">Surat Keterangan Lulus</label>:
    <div class="col-sm-9">
      <select name="skl" class="form-control">
        <option value="-" <?php if($formulir->skl=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->skl=="Sudah") { echo "selected"; } ?>>
        Sudah</option>       
      </select>
    </div>
</div>

<div class="form-group row">
    <label for="ijazah" class="col-sm-2 col-form-label">FC. Ijazah SMP/MTs</label>:
    <div class="col-sm-9">
      <select name="ijazah" class="form-control">
        <option value="-" <?php if($formulir->ijazah=="-") { echo "selected"; } ?>>
        -</option>
        <option value="Sudah" <?php if($formulir->ijazah=="Sudah") { echo "selected"; } ?>>
        Sudah</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 Data
      </button>
      <button type="reset" class="btn btn-info">
          <i class="fa fa-cut"></i> Reset
      </button>
      <a href="<?php echo base_url('formulir') ?>" class="btn btn-default">
      	<i class="fa fa-backward"></i> Kembali      	
      </a>
    </div>
  </div>

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