<?php $this->load->view('admin/error'); ?>
<div class="box box-primary">
	<div class="box-header with-border">
		<h1 class="box-title">User <small>Edit</small></h1>
		<span class="label pull-right">
			<a href="<?php echo site_url('admin/config'); ?>" class="btn btn-danger btn-sm pull-right">Back</a>
        </span>
	</div><!-- /.box-header -->
	<div class="box-body">
	 	<?php foreach ($data as $row) : ?>
		<form action="<?php echo site_url('admin/config/edit_ip/'.$row->id.''); ?>" method="post">
    		<fieldset>
			    <div class="form-group">
			    	<label>IP :</label>
			        <input class="form-control" type="text" name="nomorip" required="required" value="<?php echo $row->nomorip; ?>" >
			    </div>
			    <div class="form-group">
			    	<label>Port :</label>
			        <input class="form-control" type="text" name="port" required="required" value="<?php echo $row->port; ?>" >
			    </div>
			    <div class="form-group">
			    	<label>Keterangan :</label>
			        <input class="form-control" type="text" name="keterangan" required="required" value="<?php echo $row->keterangan; ?>" >
			    </div>
        		<div class="form-group">
					<input type="submit" class="btn btn-primary" name="submit" value="Simpan"></input>
                </div>
			</fieldset>
		</form>
   		<?php endforeach; ?>
        
	</div><!-- /.box-body -->
</div>

