     <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">Partnership</li>
          </ol>
        </section>
        
        <section class="content">
        	<div class="col-lg-12">
              <?php echo form_open_multipart('');?>
             	<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-8">
					   <label for="name">Code</label>
					   <input id="par_code" name="par_code" class="form-control" type="text" placeholder="Enter Partner Code" value="<?php echo $result->par_code?>">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Name</label>
					   <input id="par_name" name="par_name" class="form-control" type="text" placeholder="Enter Partner Name" value="<?php echo $result->par_name?>">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Email</label>
					   <input id="par_email" name="par_email" class="form-control" type="text" placeholder="Enter Partner Email" value="<?php echo $result->par_email?>">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Phone</label>
					   <input id="par_phone" name="par_phone" class="form-control" type="text" placeholder="Enter Partner Phone" value="<?php echo $result->par_phone?>">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Website</label>
					   <input id="par_website" name="par_website" class="form-control" type="text" placeholder="Enter Partner Website" value="<?php echo $result->par_website?>">
					</div>
                    
                     <div class="form-group col-lg-8">
                    	<label for="detail">Address</label>
                    	<textarea id="par_address" name="par_address" class="textarea" placeholder="Place some text here" style="width: 100%; height:80px; "><?php echo $result->par_address?></textarea>
                    </div>
                    
                    <div class="form-group col-lg-8">
                    	<label for="detail">Remark</label>
                    	<textarea id="remark" name="remark" class="textarea" placeholder="Place some text here" style="width: 100%; height: 80px;"><?php echo $result->remark?></textarea>
                    </div>
                    
                    <?php 
			  		if($result->status == 1){
					 	$authorize = "active";
					}elseif($result->status == 0){
					 	$authorize = "disactive";	
					}else{
					 	$authorize = "null";	
					}
			        ?>
                    <div class="form-group col-lg-8">
                    	<label for="status">Status</label>
						<div class="col-lg-12">
                        <label><input type="radio" name="status" class="flat-red" value="1" <?php echo $authorize == 'active' ? 'checked' : '' ?>> Active </label>
                        <label><input type="radio" name="status" class="flat-red" value="0" <?php echo $authorize == 'disactive' ? 'checked' : '' ?>> Not Active</label>
                        </div> 
                    </div>
                    
                    
                    
                    <div class="form-group col-lg-8">
                     <input type="submit" name="update_partnership" value="Update" class="btn btn-primary"/>
                     <button type="reset" class="btn btn-danger">Reset</button>
                    </div>

                </div>
             </form>
            </div>
        </section>
     </div>
