           
<div class="panel panel-default">
    <?php
    $query = $this->main_model->desig_info($did);
    foreach ($query as $row):
        ?>
        <div class="panel-heading">
            <h6 class="panel-title"><i class="fa fa fa-align-justify"></i> Designation Information | Edit</h6>
            <a href="<?php echo site_url('everbright/desig'); ?>" class="pull-right btn btn-circle btn-xs btn-default"><i class="fa fa-step-backward"></i> Back</a>
        </div>

        <div class="panel-body">
            <form action="<?php echo site_url('everbright/desig/edit/' . $row['did']); ?>" method="post" class="form-horizontal validate" role="form"> 

                 
                                
                <div class="row">
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>Designation Name<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['name']; ?>"  placeholder="Designation Name" name="name">
                            </div>
                        </div> 
                    </div>
                    

                </div>
                
                
                
                
                
                
                <div class="form-actions text-right">
                    <button type="submit" value="Update" class="btn btn-primary"><i class="fa fa-check"></i> Update</button>
                </div>

            </form> 

        </div>

    <?php endforeach; ?>

</div>
