<style>
#_rasioForm{
	height: <?php echo $height ?>px;
	-webkit-border-radius: 0px; 
	-moz-border-radius: 0px; 
	-khtml-border-radius: 0px; 
	border-radius: 0px 0px 6px 6px;
	background-color: #e0ebf3;
	border-left: 2px double #f5cbe8;
	border-right: 2px double #f5cbe8;
	border-bottom: 2px double #f5cbe8;
	padding: 20px;
	font-size: 13px;
}
</style>
<div id="_rasioForm">
		<form method="post" action="">
			<select name="grup">
				<option value="">--Pilih salah Satu Group--
				<?php foreach($this->data->grup as $row){ ?>
					<option value="<?php echo $row->kodegrup ?>"><?php echo $row->namagrup ?>
				<?php } ?>
			</select>
			<input type="submit" value="Tambah">
		</form>
	<br>
	<table id="grid">
		<thead>
			<tr>
				<th width="200">Group</th>
				<th width="50">Action</th>
			</tr>
		</thead>
		<tbody>
			<?php 
			foreach($this->data->data as $row){ ?>
				<tr>
					<td><?php echo $row->namagrup; ?></td>
					<td><a href="<?php echo $_SERVER['REQUEST_URI'].'&kode='.$row->id_grup_pengguna ?>">Delete</a></td>
				</tr>
			<?php } ?>
		</tbody>
	</table>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$('#grid').flexigrid({
		width: 300,
		height: 200,
	});
})
</script>