<div class="row">
	<div class="col-xs-10">
		<h2><?php echo $titulo ?></h2>
		<?php 
		if(isset($error)){
			echo $error;
		}
		?>
	</div>
	<div class="col-xs-2 actions">
		<div class="button">
			<?php echo anchor(base_url('admin/'.$controlador), "<img src='".base_url()."assets/img/cancel.svg'><br><label>CANCEL</label>") ?> 
		</div>
	</div>
</div>
<form class="form-horizontal" role="form" name="new_slide" action="<?php echo base_url('admin/'.$controlador.'/save')?>" method="post" enctype="multipart/form-data">
	<div class="form-group">
		<label for="username" class="col-sm-3 control-label">Username</label>
		<div class="col-sm-9">
			<input type="text" class="form-control" name="username" placeholder="Username" id="inputUsername">
		</div>
	</div>
	<div class="form-group">
		<label for="profile" class="col-sm-3 control-label">Profile</label>
		<div class="col-sm-9">
			<select class="form-control" name="profile">
				<option value="admin">Administrator</option>
				<option value="editor">Editor</option>
			</select>
		</div>
	</div>
	<div class="form-group">
		<label for="descripcion" class="col-sm-3 control-label">Pasword</label>
		<div class="col-sm-9">
			<input type="text" class="form-control" name="password" placeholder="Password" id="inputPassword">
		</div>
	</div>
	<div class="form-group">
		<label for="name" class="col-sm-3 control-label">Name</label>
		<div class="col-sm-9">
			<input type="text" class="form-control" name="name" placeholder="Name" id="inputName">
		</div>
	</div>
	<div class="form-group last">	
    	<div class="col-sm-offset-3 col-sm-9">	
			<button type="submit" class="btn btn-success btn-sm" name="guardar" placeholder="Guardar">Save</button>
			<button type="reset" class="btn btn-default btn-sm">Reset</button>
		</div>
	</div>
</form>




