     <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Channellimo
            <small>Preview</small>
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Forms</a></li>
            <li class="active">User</li>
          </ol>
        </section>
        
        <section class="content">
        	<div class="col-lg-12">
            <?php echo validation_errors('<div class="error">', '</div>'); ?>
            <?php echo form_open_multipart('admin/management/add');?>
             	<div class="box box-primary col-lg-8">
                	<div class="box-header with-border">
						<h3 class="box-title">FORM ADD</h3>
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Name</label>
					   <input id="name" name="name" class="form-control" type="text" placeholder="Enter Username">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Password</label>
					   <input id="passwd" name="passwd" class="form-control" type="password" placeholder="Enter Password">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Email</label>
					   <input id="email" name="email" class="form-control" type="text" placeholder="Enter Email">
					</div>
                    
                    <div class="form-group col-lg-5">
                       <label for="status">Position</label>
                       <select class="form-control" name="position">
                        <?php 
			  			$sql = $this->db->query('SELECT * FROM `roles` ORDER BY `id`');
			  			foreach ($sql->result() as $role)
			  			{  
			  			?>
             			 <option value="<?php echo $role->id ?>"><?php echo $role->name ?></option> 
              			<?php }?>
						</select>
                    </div>
                    
                    <div class="form-group col-lg-8">
                    	<label for="status">Status</label>
						<div class="col-lg-12">
                        <input type="radio" name="status" class="flat-red" value="0"> Allow 
                        <input type="radio" name="status" class="flat-red" value="1"> Block
                        </div> 
                    </div>
                    
                    <div class="form-group col-lg-8">
                     <input type="submit" value="Submit" class="btn btn-primary">
                   
                     <button type="reset" class="btn btn-danger">Reset</button>
                    </div>
                    
                    
                </div>
             </form>
            </div>
        </section>
     </div>
