<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

<html>
<head>
	<title>Data Anggota Himakom</title>
	<link href="<?php echo base_url('assets/css/bootstrap.min.css'); ?>" rel="stylesheet"> 
	<script src="<?php echo base_url('assets/js/jquery-2.1.4.min.js'); ?>"></script>
</head>
<body>
	<div class="container">
		<div class="page-header">
			<h1>Update Riwayat Prestasi <a href="<?php echo site_url('anggota');?>" class="btn btn-sm btn-success">Kembali ke Dashboard</a></h1>
		</div>
		<!--Start Row -->
		<div class="row">
			<div class="col-md-9 col-md-offset-1">
				<form class="form-horizontal" id="formRiwayatPrestasi" method="post">
					<div class="form-group">
						<label class="col-md-3 control-label" for="inputTingkatPrestasi">Tingkat Prestasi</label>
						<div class="col-md-9">
							<select name="tingkat_prestasi" class="form-control" id="inputTingkatPrestasi" required="">
								<?php foreach ($tingkat_prestasi as $row) : ?>
									<option value=<?php echo $row->ID_TINGKAT_PRESTASI; ?>> <?php echo $row->NAMA_TINGKAT_PRESTASI; ?> </option>
								<?php endforeach; ?>
							</select>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputNamaPrestasi">Nama Prestasi</label>
						<div class="col-md-9">
							<input name="nama_prestasi" class="form-control" id="inputNamaPrestasi" required="" type="text" placeholder="Nama Prestasi" value="<?php echo $riwayat_prestasi->NAMA_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputPencapaianPrestasi">Pencapaian Prestasi</label>
						<div class="col-md-9">
							<input name="pencapaian_prestasi" class="form-control" id="inputPencapaianPrestasi" required="" type="text" placeholder="Pencapaian Prestasi" value="<?php echo $riwayat_prestasi->PENCAPAIAN_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputLembagaPrestasi">Lembaga Prestasi</label>
						<div class="col-md-9">
							<input name="lembaga_prestasi" class="form-control" id="inputLembagaPrestasi" required="" type="text" placeholder="Lembaga Prestasi" value="<?php echo $riwayat_prestasi->LEMBAGA_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputTahunPrestasi">Tahun Prestasi</label>
						<div class="col-md-9">
							<input name="tahun_prestasi" class="form-control" id="inputTahunPrestasi" required="" type="text" placeholder="Tahun Prestasi" value="<?php echo $riwayat_prestasi->TAHUN_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputJenisPrestasi">Jenis Prestasi</label>
						<div class="col-md-9">
							<div class="radio">
								<label>
									<input id="radioJenisPrestasiI"name="jenis_prestasi" required="" type="radio" value="I">Individu
								</label>
							</div>
							
							<div class="radio">
								<label>
									<input id="radioJenisPrestasiK"name="jenis_prestasi" required="" type="radio" value="K">Kelompok
								</label>
							</div>
						</div>

					<div class="form-group">
						<div class="col-md-6 col-md-offset-3">
							<?php echo form_submit('', 'Submit', array('class' => 'btn btn-primary')); ?>
						</div>
					</div>

				</form>
			</div>
		</div> <!-- End Row -->	
	</div>

	<script>
		var idRadio = "radioJenisPrestasi" + "<?php echo $riwayat_prestasi->JENIS_PRESTASI; ?>";
		$("#" + idRadio).prop("checked", true);
		var tingkatPrestasi = "<?php echo $riwayat_prestasi->ID_TINGKAT_PRESTASI; ?>";
		$('#inputTingkatPrestasi').val(tingkatPrestasi);
	</script>
</body>
</html><commit_msg>add enter on update riwayat prestasi view<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

<html>
<head>
	<title>Data Anggota Himakom</title>
	<link href="<?php echo base_url('assets/css/bootstrap.min.css'); ?>" rel="stylesheet"> 
	<script src="<?php echo base_url('assets/js/jquery-2.1.4.min.js'); ?>"></script>
</head>
<body>
	<div class="container">
		<div class="page-header">
			<h1>Update Riwayat Prestasi <a href="<?php echo site_url('anggota');?>" class="btn btn-sm btn-success">Kembali ke Dashboard</a></h1>
		</div>
		<!--Start Row -->
		<div class="row">
			<div class="col-md-9 col-md-offset-1">
				<form class="form-horizontal" id="formRiwayatPrestasi" method="post">
					<div class="form-group">
						<label class="col-md-3 control-label" for="inputTingkatPrestasi">Tingkat Prestasi</label>
						<div class="col-md-9">
							<select name="tingkat_prestasi" class="form-control" id="inputTingkatPrestasi" required="">
								<?php foreach ($tingkat_prestasi as $row) : ?>
									<option value=<?php echo $row->ID_TINGKAT_PRESTASI; ?>> <?php echo $row->NAMA_TINGKAT_PRESTASI; ?> </option>
								<?php endforeach; ?>
							</select>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputNamaPrestasi">Nama Prestasi</label>
						<div class="col-md-9">
							<input name="nama_prestasi" class="form-control" id="inputNamaPrestasi" required="" type="text" placeholder="Nama Prestasi" value="<?php echo $riwayat_prestasi->NAMA_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputPencapaianPrestasi">Pencapaian Prestasi</label>
						<div class="col-md-9">
							<input name="pencapaian_prestasi" class="form-control" id="inputPencapaianPrestasi" required="" type="text" placeholder="Pencapaian Prestasi" value="<?php echo $riwayat_prestasi->PENCAPAIAN_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputLembagaPrestasi">Lembaga Prestasi</label>
						<div class="col-md-9">
							<input name="lembaga_prestasi" class="form-control" id="inputLembagaPrestasi" required="" type="text" placeholder="Lembaga Prestasi" value="<?php echo $riwayat_prestasi->LEMBAGA_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputTahunPrestasi">Tahun Prestasi</label>
						<div class="col-md-9">
							<input name="tahun_prestasi" class="form-control" id="inputTahunPrestasi" required="" type="text" placeholder="Tahun Prestasi" value="<?php echo $riwayat_prestasi->TAHUN_PRESTASI; ?>" autocomplete="off">
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-3 control-label" for="inputJenisPrestasi">Jenis Prestasi</label>
						<div class="col-md-9">
							<div class="radio">
								<label>
									<input id="radioJenisPrestasiI"name="jenis_prestasi" required="" type="radio" value="I">Individu
								</label>
							</div>
							
							<div class="radio">
								<label>
									<input id="radioJenisPrestasiK"name="jenis_prestasi" required="" type="radio" value="K">Kelompok
								</label>
							</div>
							<br>
						</div>

					<div class="form-group">
						<div class="col-md-6 col-md-offset-3">
							<?php echo form_submit('', 'Submit', array('class' => 'btn btn-primary')); ?>
						</div>
					</div>

				</form>
			</div>
		</div> <!-- End Row -->	
	</div>

	<script>
		var idRadio = "radioJenisPrestasi" + "<?php echo $riwayat_prestasi->JENIS_PRESTASI; ?>";
		$("#" + idRadio).prop("checked", true);
		var tingkatPrestasi = "<?php echo $riwayat_prestasi->ID_TINGKAT_PRESTASI; ?>";
		$('#inputTingkatPrestasi').val(tingkatPrestasi);
	</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.18700025793139025, 'fraction_numerical': 0.0054165591952540625, 'mean_word_length': 3.8681732580037664, 'pattern_counts': {'":': 0, '<': 206, '<?xml version=': 0, '>': 224, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '411270', 'n_tokens_mistral': 3424, 'n_tokens_neox': 2769, 'n_words': 496}