     <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">Category</li>
          </ol>
        </section>
        
        <section class="content">
        	<div class="col-lg-12">
              <?php 
				if ($this->session->flashdata('errors')){ 
					echo "<div class='error'>";
					echo $this->session->flashdata('errors');
					echo "</div>";
			    }
			 ?>
             <form action="" method="post">
             	<div class="box box-primary col-lg-8">
                	<div class="box-header with-border">
						<h3 class="box-title">FORM EDIT</h3>
					</div>
                    
                    <div class="form-group col-lg-10">
                        <label>Title</label>
                        <input class="form-control" name="title" id="title" placeholder="Enter Title" value="<?php echo $category->catTitle?>">
                    </div>
                                 
                   <?php 
					if($category->catStatus == 1){
						$authorize = "active";
					}elseif($category->catStatus == 0){
						$authorize = "notactive";	
					}else{
						$authorize = "null";	
					}
				  ?>
                                 
                  <div class="form-group col-lg-10">
                       <label for="status">Status</label>
                       <div class="col-lg-12">
                       <input type="radio" name="status" class="flat-red" value="1" <?php echo $authorize == 'active' ? 'checked' : '' ?>>
                       Active 
                      <input type="radio" name="status" class="flat-red" value="0" <?php echo $authorize == 'notactive' ? 'checked' : '' ?>>
                      Not Active
                      </div> 
                  </div>
                                 
                 <div class="form-group col-lg-10">
                        <input type="submit" name="update_category" value="Update" class="btn btn-primary"/> 
                  	    <button type="reset" class="btn btn-danger">Reset</button>
                 </div>
                    
                    
                </div>
             </form>
            </div>
        </section>
     </div>
