<?php
  echo form_open(base_url('sosialisasi/edit'));
  $sosialisasi = $this->setting_model->sosialisasi();
 
?>

<div class="form-group row">
    <label for="tanggal" class="col-sm-2 col-form-label">Tanggal Sosilasisasi</label>:
    <div class="col-sm-6">
      <input type="text" name="tanggal" id="tanggal" class="form-control tanggal" placeholder="Tanggal Sosilasisasi" value="<?php echo date('d-m-Y',strtotime($sosialisasi->tanggal))?>" maxlength="10"  >
    </div>
</div>

<div class="form-group row">
    <label for="waktu" class="col-sm-2 col-form-label">Waktu Sosilasisasi</label>:
    <div class="col-sm-6">
      <input type="text" name="waktu" id="waktu"  class="form-control" placeholder="Waktu Sosilasisasi" value="<?php echo $sosialisasi->waktu?>" required>
    </div>
</div>

<div class="form-group row">
    <label for="tempat" class="col-sm-2 col-form-label">Tempat Sosilasisasi</label>:
    <div class="col-sm-6">
      <input type="text" name="tempat" id="tempat"  class="form-control" placeholder="Tempat Sosilasisasi" value="<?php echo $sosialisasi->tempat?>" required>
    </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();
?>