           
<div class="panel panel-default">
    <?php
    $query = $this->main_model->governingbody_info($gid);
    foreach ($query as $row):
        ?>
        <div class="panel-heading">
            <h6 class="panel-title"><i class="fa fa fa-align-justify"></i> Governing Body Info. | Edit</h6>
            <a href="<?php echo site_url('everbright/governingbody'); ?>" 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/governingbody/edit/' . $row['gid']); ?>" 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>Serial<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['serial']; ?>"  placeholder="Serial" name="serial">
                            </div>
                        </div> 
                    </div>
					<div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>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="Name" name="name">
                            </div>
                        </div> 
                    </div>
                    

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

                </div>
				<div class="row">
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>Email</span></label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control " value="<?php echo $row['email']; ?>"  placeholder="Email" name="email">
                            </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>
