<div class="well">

      <ul class="tabs"> 
        <li><a href="#view1">Add Control</a></li> 
      </ul> 
      <div class="tabcontents"> 
          <div id="view1" class="row">
        
              <!-- form cut to the toolbar  -->
              <div class="col-lg-12">
              
                  <div class="col-lg-6">
              
               
                  
                          <fieldset> 
                              <legend><span class="ast">*</span> indicate required fields </legend>
        
  
                             
                             
                                                         
                            <div class="form-group">
                                  <label for="title" class="col-sm-3 control-label">Title </label>
                                  <div class="col-sm-9">
                                    <div class="input-group">
                                    <input  id="title" class="form-control input-sm" type="text" placeholder="Title"  name="title" 
                                    value="<?php if(isset($_SESSION['title'])) echo $_SESSION['title']; ?>" required></input>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                     
                                  </div>
                               </div>  
                               
                                                      
                             <div class="form-group">
                                  <label for="control" class="col-sm-3 control-label">Control</label>
                                  <div class="col-sm-9">
                                    <div class="input-group">
                                    <input  id="control" class="form-control input-sm" type="text" placeholder="Control"  name="control" 
                                    value="<?php if(isset($_SESSION['control'])) echo $_SESSION['control']; ?>" required></input>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                       <span class="help-block"> e.g: school_registration: separate each word wit an under score( _ ). </span>
                                  </div>
                               </div>
                             
                              
                             
                             
                           <div class="form-group">
                            <label class="col-sm-3 control-label" for="description">Note / Description</label>
                              <div class="col-sm-9">
                              
                                <textarea  id="" rows="3" class="rte1 form-control input-sm" name="description" action="#" >
                                <?php if(isset($_SESSION['description'])){echo $_SESSION['description'];} ?>
                                </textarea>
                              </div>
                            </div>
                            
                         
                           <div class="form-group">
                                <label class="col-sm-3 control-label" for="user_status">Active Status</label>
                                <div class="col-sm-9">
                                
                                      <select  class="form-control input-sm" name="active_status"  id="active_status" required>
                                      
                                       <option value="0"selected > Deactivate </option>
                                       <option value="1"  <?php if($_SESSION['active_status']=='1') echo "selected";?>> Activate </option>
                                      </select>
                                     <!-- <div class="input-group-addon"> <span class="ast">*</span></div>-->
                                 
                                </div>
                           </div>
                          
                                     
                          <!-- <div class="form-group">
                            <label class="col-sm-3 control-label" for="gender">Status</label>
                            <div class="col-sm-9">
                            
                              <select id="status" class="form-control input-sm" name="status" required>
                                
                              <?php  //echo select_status($_SESSION['status']); ?>
                                
                               </select>
                            
                               
                            </div>
                            
                          </div>	
                         -->
							
                                
						<input type="hidden" value="save_control_boxs" name="act" />
                              					
                  </div><!-- /col-lg- 6 -->
                  <div class="col-lg-6"></div><!-- /col-lg- 6 -->
                  </fieldset>
              
              
                
               
			</div><!-- / col-lg -12 -->
							
 		</form>

        
        </div> 
      </div>
</div>