<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 Pilihan Jawaban</h4>
					</div>
					<div class="form-body">
						<div class="col-md-12">
							<h3><?php echo $pertanyaan->pertanyaan;?></h3>
						</div>
						<br>
						<br>
						<br>
						<?php echo $this->session->flashdata('msg'); ?>
						<form class="form-horizontal" action="<?php echo base_url();?>admin/Pertanyaan/pilihanJawabanEditExec" method="post" enctype="multipart/form-data">
							<input type="hidden" name="id_pilihan_jawaban" value="<?php echo $pilihan_jawaban->id_pilihan_jawaban;?>">
							<div class="form-group">
								<label class="col-sm-3 control-label">Pilihan Jawaban</label>
								<div class="col-sm-6">
									<input type="text" name="pilihan_jawaban" class="form-control" value="<?php echo $pilihan_jawaban->pilihan_jawaban;?>" required>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">Nilai</label>
								<div class="col-sm-2">
									<input type="number" name="nilai" class="form-control" value="<?php echo $pilihan_jawaban->nilai;?>"  required>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-7">
									<a href="<?php echo base_url();?>admin/Pertanyaan/pilihanJawaban/<?php echo $pilihan_jawaban->id_pertanyaan;?>" class="btn btn-danger"><i class="fa fa-times"></i> Batal</a>
									<span>&nbsp;&nbsp;</span>
									<button type="submit" class="btn btn-success"><i class="fa fa-save"></i> Simpan</button>
								</div>
							</div>
						</form> 
					</div>
				</div>
			</div>
		</div>
	</div>
</div>