<div class="row">  
  <div class="col-md-6">
    <?php echo form_open(base_url('nilai/edit/'.$nilai->no_pendaftaran)); ?>
    <h4 class="alert alert-secondary">Edit Nilai BTQ [ diinput 0 - 100, jika kosong 0 ]</h4>    
    

    <div class="form-group row" name=f1 method=post>
      <label class="col-sm-3 control-label text-right">Membaca <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_membaca" id="btq_membaca" class="form-control" placeholder="Nilai Membaca" value="<?php echo $nilai->btq_membaca?>" required>
      </div>
    </div>

     <div class="form-group row">
      <label class="col-sm-3 control-label text-right">Makhrojul <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_makhrojul" id="btq_makhrojul" class="form-control" placeholder="Nilai Makhrojul" value="<?php echo $nilai->btq_makhrojul?>" required>
      </div>
    </div>

     <div class="form-group row">
      <label class="col-sm-3 control-label text-right">Tajwid <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_tajwid" id="btq_tajwid" class="form-control" placeholder="Nilai Tajwid" value="<?php echo $nilai->btq_tajwid?>" required>
      </div>
    </div>

    <div class="form-group row">
      <label class="col-sm-3 control-label text-right">Huruf Tunggal <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_huruftunggal" id="btq_huruftunggal" class="form-control" placeholder="Nilai Huruf Tunggal" value="<?php echo $nilai->btq_huruftunggal?>" required>
      </div>
    </div>

    <div class="form-group row">
      <label class="col-sm-3 control-label text-right">Merangkai Huruf <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_merangkaihuruf" id="btq_merangkaihuruf" class="form-control" placeholder="Nilai Merangkai Huruf" value="<?php echo $nilai->btq_merangkaihuruf?>" required>
      </div>
    </div>

    <div class="form-group row">
      <label class="col-sm-3 control-label text-right">Kerapihan <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_kerapihan" id="btq_kerapihan" class="form-control" placeholder="Nilai Kerapihan" value="<?php echo $nilai->btq_kerapihan?>" required>
      </div>
    </div>

    <div class="form-group row">
      <label class="col-sm-3 control-label text-right">Akhlak <span class="text-danger">*</span></label>
      <div class="col-sm-9">
        <input type="text" name="btq_akhlak" id="btq_akhlak" class="form-control" placeholder="Nilai Akhlak" value="<?php echo $nilai->btq_akhlak?>" required>
      </div>
    </div>    
  </div>

 <!--tab 2-->
  <div class="col-md-6">
    <h4 class="alert alert-secondary">Edit Nilai Wawancara [ diinput 0 - 100, jika kosong 0 ]</h4>
    
    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Alasan Memilih MTD <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_alasan" id="w2n_alasan" class="form-control" placeholder="Nilai Alasan Memilih SMK Al-Muhtadin" value="<?php echo $nilai->w2n_alasan?>" required>
      </div>
    </div>  

    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Besarnya Kepercayaan <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_kepercayaan" id="w2n_kepercayaan" class="form-control" placeholder="Nilai Besarnya Kepercayaan Terhadap Sekolah" value="<?php echo $nilai->w2n_kepercayaan?>" required>
      </div>
    </div>  

    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Penanganan Masalah <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_penanganan" id="w2n_penanganan" class="form-control" placeholder="Nilai Penanganan Masalah Disekolah" value="<?php echo $nilai->w2n_penanganan?>" required>
      </div>
    </div>  
   
    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Kebiasaan Belajar Anak <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_kebiasaan" id="w2n_kebiasaan" class="form-control" placeholder="Nilai Kebiasaan Belajar Anak" value="<?php echo $nilai->w2n_kebiasaan?>" required>
      </div>
    </div>  
    
    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Psikologi Anak <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_psikologi" id="w2n_psikologi" class="form-control" placeholder="Nilai Psikologi Anak" value="<?php echo $nilai->w2n_psikologi?>" required>
      </div>
    </div>  
   
    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Pelaksanaan Sholat <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_sholat" id="w2n_sholat" class="form-control" placeholder="Nilai Pelaksanaan Sholat 5 Waktu" value="<?php echo $nilai->w2n_sholat?>" required>
      </div>
    </div>  

    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Keikutsertaan Ortu <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_keikutsertaan" id="w2n_keikutsertaan" class="form-control" placeholder="Nilai Keikutsertaan Ortu dlm Meningkatkan Kualitas" value="<?php echo $nilai->w2n_keikutsertaan?>" required>
      </div>
    </div>  

    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Kewajiban Administrasi <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <input type="text" name="w2n_kesediaan" id="w2n_kesediaan" class="form-control" placeholder="Nilai Kesediaan Memenuhi Kewajiban Administrasi" value="<?php echo $nilai->w2n_kesediaan?>" required>
      </div>
    </div>  

    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Catatan Khusus <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <textarea type="text" name="catatan" id="catatan" class="form-control" placeholder="Catatan Untuk Peserta, Jika Kosong Strip ( - )" value="<?php echo $nilai->catatan?>" required><?php echo $nilai->catatan?></textarea>
      </div>   
   </div>     
    <!--
    <?php echo form_open_multipart(base_url('form'),'id="edit"') ?>
    <div class="form-group row">
      <label class="col-sm-4 control-label text-right">Status <span class="text-danger">*</span></label>
      <div class="col-sm-8">
        <a href="https://api.whatsapp.com/send?phone=6285921778565&text=Hallo%20Agan%20Baik"><img src="tombol.png"></a>
      </div>
    </div>  -->

     <div class="form-group row">
      <label class="col-sm-3 control-label text-right"></label>
      <div class="col-sm-9">                
          <button type="submit" name="submit" class="btn btn-success btn-lg"><i class="fa fa-save"></i> Simpan</button>
          <button type="reset" name="reset" class="btn btn-info btn-lg"><i class="fa fa-cut"></i> Batal</button>
           <a href="<?php echo base_url('nilai') ?>" class="btn btn-secondary btn-lg" data-dismiss="modal"><i class="fa fa-times"></i> Kembali</a>        
      </div>
      <label class="col-sm-12 control-label text-right"><span class="text-danger">*</span> <small>Wajib diisi</small></label>
    </div>      
  </div>   
</div>

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