<title><?php echo $i_judul ; ?></title>


<div class="main-content">


<div class="container_24 primary_content_wrap clearfix" role="main"><div id="content" class="grid_16">
<div class="page-header">
							<h1>
								<?php echo $i_judul; ?>
								
							</h1>
						</div>

<?php echo form_open_multipart('index.php/admin/simpan','class="form-horizontal" role="form"'); ?>
<input type="hidden" name="id" value="<?php echo $id; ?>" />


<div class="form-group">
	<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Username </label>
		<div class="col-sm-9">
        <?php if($id==""){ ?>
				<input class="col-sm-3" type="text" name="username" size="25" required="required"  value="<?php echo $username; ?>" placeholder="username" />
        <?php } ?>
        
        <?php if($id!=""){ ?>
				<input class="col-sm-3" type="text" name="username" size="25" required="required"  value="<?php echo $username; ?>" placeholder="username" readonly="readonly" />
        <?php } ?>
		</div>
</div>

<div class="form-group">
	<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Nama </label>
		<div class="col-sm-9">
				<input placeholder="Nama Admin" class="form-control" type="text" name="nama" size="75" required="required"  value="<?php echo $nama; ?>" />
		</div>
</div>

<div class="form-group">
	<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> New Password </label>
		<div class="col-sm-9">
				<input placeholder="Password" class="col-sm-3" type="password" name="sandi" size="15" required="required"  value="" />
		</div>
</div>

<input class="btn btn-info" type="submit" value="Simpan" />
 <a class="btn btn-danger" href="<?php echo base_url(); ?>index.php/admin/data_list"> <i class="ace-icon fa fa-reply icon-only"></i>
Kembali</a>
<?php echo form_close(); ?>



</div>
</div>
</div>
