<div class="page-title-list" style="padding-bottom:3%;">
    <div class="userHeading_sec col-md-12 col-sm-12 col-xs-12 reset-padding">
        <div class="col-md-12 col-sm-12 col-xs-12 reset-padding">
        	<?php if($this->session->flashdata('message_success') && !isset($data)){?>
                <div class="alert alert-success alert-dismissable">
                    <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
                    <?=$this->session->flashdata('message_success')?>
                </div>
            <?php } ?>
            <div class="col-md-12 reset-padding">
                <div class="col-md-8 col-sm-8 col-xs-12 reset-padding">
                    <h4 class="float-left pageTitle"><?php echo $title; ?></h4>
                </div>
                
                <hr>
            </div>
        </div>
    </div>
    <div class="row">
    	<div class="col-md-12"> 
    	<?php if($edit != null){?>
    		<form class="register-form" method="post">
                <div class="col-sm-12">
                    <div class="row">
                        <div class="col-sm-12 form-group">
                        	<div class="col-sm-6 reset-padding">
	                            <label><?php echo _l("Title",$this);?></label>
	                            <input type="text" name="title" placeholder="<?php echo _l("VERSION 1.1",$this);?>" class="form-control" value="<?php echo ($version_info) ? $version_info->title : ''; ?>">
	                        </div>
                        </div>
                        
                        <div class="col-sm-6 form-group">
                            <label><?php echo _l("Description",$this);?></label>
                            <textarea name="description" class="form-control"><?php echo ($version_info) ? $version_info->description : ''; ?></textarea>
                        </div>
                    </div>
                    	<input type="submit" name="update_version" class="btn btn-primary" value="<?php echo _l("Update",$this);?>"/>
	                    <a href="<?php echo base_url().$lang.'/about';?>" class="btn btn-primary btn-border-square"><?php echo _l("Cancel",$this);?></a>
                    
                </div>
            </form>
    	<?php }else{ ?>
	        <h3><strong><?php echo $version_info->title;?></strong></h3><br>
			<p><?php echo $version_info->description; ?></p>
		<?php } ?>
		</div>
    </div>
</div>