



		
<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 Method
            	</div>
            </div>
			<div class="panel-body">





				<?PHP
				echo $this->session->flashdata('msg'); 
		
                 echo form_open('addpaymentmethod' , 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="inputmethod" class="col-sm-2 control-label">Payment Method</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',$paymentmethod[0]['id']); ?>"id="id" class="form-control" required placeholder="Enter id">

		  		<input type="text" name="method" value="<?php echo set_value('method',$paymentmethod[0]['method']); ?>"id="method" class="form-control" required placeholder="Enter house number">
     <span class="text-danger"><?php echo form_error('method'); ?></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('method',$paymentmethod[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_paymentmethod"value="paymentmethod" class="btn btn-primary">Update Payment Method</button>

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





