<div id="page-wrapper">
	<div class="main-page">
		<div class="forms">
			<div class=" form-grids row form-grids-right">
				<div class="widget-shadow " data-example-id="basic-forms"> 
					<div class="form-title">
						<h4>Ubah Peraturan Pegawai</h4>
					</div>
					<div class="form-body">
						<?php echo $this->session->flashdata('msg'); ?>
						<form class="form-horizontal" action="<?php echo base_url();?>Admin/masterPPEditExec" method="post" enctype="multipart/form-data">
							<input type="hidden" name="id_peraturan" value="<?php echo $masterPP->id_peraturan;?>">
							<div class="form-group">
								<label class="col-sm-2 control-label">Tentang<span style="color:#ff0000;">*</span></label>
								<div class="col-sm-9">
									<input type="text" name="tentang" class="form-control" value="<?php echo $masterPP->tentang;?>"  required>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">File</label>
								<div class="col-sm-9">
									<input type="file" name="peraturan" class="form-control">
									<a href="<?php echo base_url();?>assets/docs/<?php echo $masterPP->file;?>" target="_blank" download>Klik di sini untuk mendownload!</a>
								</div>
							</div>
							<div class="col-sm-offset-2">
								<button type="submit" class="btn btn-success"><i class="fa fa-save"></i> Ubah</button>
							</div>
						</form> 
					</div>
				</div>
			</div>
		</div>
	</div>
</div>