Created
October 7, 2019 07:41
-
-
Save tfkproject/e02f6dcd88fbf0866f5aa289ee1908c1 to your computer and use it in GitHub Desktop.
Untuk form edit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="update.php" role="form" method="POST" enctype="multipart/form-data"> | |
<input type="hidden" class="form-control" name="id_pengumuman" value="<?php echo $id_pengumuman;?>"> | |
<div class="box-body"> | |
<div class="form-group"> | |
<label>Judul</label> | |
<input type="text" class="form-control" placeholder="Judul" name="judul" value="<?php echo $data['judul'];?>" required> | |
</div> | |
<div class="form-group"> | |
<label>Keterangan</label> | |
<textarea type="text" class="form-control" placeholder="Keterangan" name="keterangan" required><?php echo $data['keterangan'];?></textarea> | |
</div> | |
<div class="form-group"> | |
<label>File Lampiran</label> | |
<input type="hidden" name="file_lampiran_lama" value="<?php echo $data['file_lampiran'];?>"> | |
<input type="file" class="form-control" name="file_lampiran_baru"> | |
</div> | |
</div> | |
<!-- /.box-body --> | |
<div class="box-footer"> | |
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> Perbaharui</button> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment