



		
<div class="row">
	<div class="col-md-12">
		<div class="panel panel-primary" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title" >
            		<i class="entypo-plus-circled"></i>
				Add new Payment name
            	</div>
            </div>
			<div class="panel-body">





				<?PHP
				echo $this->session->flashdata('msg'); 
		
                 echo form_open('addcountry' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
					
  <div class="form-group">

    <label for="inputname" class="col-sm-2 control-label">Country name</label>
    <div class="col-sm-7">
	<input type="hidden" name="action" value="<?php echo set_value('action','update'); ?>"id="action" class="form-control" required placeholder="Enter action">
	<input type="hidden" name="id" value="<?php echo set_value('id',$country[0]['id']); ?>"id="id" class="form-control" required placeholder="Enter id">

		  		<input type="text" name="name" value="<?php echo set_value('name',$country[0]['name']); ?>"id="name" class="form-control" required placeholder="Enter house number">
     <span class="text-danger"><?php echo form_error('name'); ?></span>
   </div>
  </div>
   			
  
  
   <div class="form-group">
    <label for="inputphone3" class="col-sm-2 control-label">Description </label>
    <div class="col-sm-7">
	<textarea name="description" id="ttt" rows="5" placeholder="add Description" class="form-control"><?php echo set_value('name',$country[0]['description']); ?></textarea>
    <span class="text-danger"><?php echo form_error('description'); ?></span>
   </div>
  </div>
    
  
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-7">
     
	       <button type="submit" name="btn_country"value="country" class="btn btn-primary">Update Country</button>

    </div>
  </div>
                    
                <?php echo form_close();?>
            </div>
        </div>
    </div>
</div>





