<div class="col-sm-12 gray_ttc" style="margin-left: 5px" >
    <div class="col-sm-12 form-group" style="border-bottom: 1px solid #80c12c;">
        <span class=" col-sm-12  form-group">
            <h3 style="margin: 0">Manage Education Institute</h3>
        </span> 
    </div>

    <div class="col-sm-12 form-group white">
        <div class="col-sm-12 gray_ttc form-group" style="margin-left: 5px;border-bottom: 1px solid #80c12c">
            <div class="form-group col-sm-6">
                <strong>Education Institute Name</strong>
            </div>
            <div class="form-group col-sm-3">
                <strong>Country</strong>
            </div>                            
            <div class="form-group col-sm-3">
                <strong> Action</strong>
            </div>                             
        </div>
        <div class="col-sm-12" style="height: 10px;"></div>
        <div class="col-sm-12" id="eduInsList"> 
            <?php
            foreach ($all_eduIns_name as $key=>$eduIns_value) {
                ?>
                <div class="col-sm-12  form-group" style="margin-left: 5px;background: #ededed" id="eduIns_row<?php echo $eduIns_value->education_institute_id ?>">
                    <div class=" col-sm-6 " style="padding-top: 5px;padding-bottom: 5px">
                        <?php echo $eduIns_value->education_institute_name ?>
                    </div>
                    <div class=" col-sm-3 " style="padding-top: 5px;padding-bottom: 5px">                        
                        <input type="hidden" value="<?php echo $eduIns_value->education_institute_country; ?>" id="eduInsCountryCode<?php echo $key?>">
                    </div>
                    <?php if ($this->session->person_role == 6) { ?>
                        <div class="col-sm-2 " style="padding-top: 5px;padding-bottom: 5px">
                            <a href="javascript:void(0)" onclick="editEduIns('<?php echo $eduIns_value->education_institute_id; ?>')" class="EditBtn"><i class="fa fa-edit" title="Edit"></i></a>                                    
                            <span>&nbsp;&nbsp;</span>
                            <a href="javascript:void(0)" id="deleteEduIns<?php echo $eduIns_value->education_institute_id; ?>" ><i class="fa fa-trash" title="Delete"></i></a>
                            <?php if ($eduIns_value->education_institute_status == 2) { ?>
                                <span>&nbsp;&nbsp;</span>
                                <a href="javascript:void(0)" id="approveEduIns"><i class="fa fa-refresh fa-spin" title="Pending"></i></a>
                            <?php } ?>
                        </div>
                    <?php } ?>
                </div>
                <div class="modal fade" style="" id="deleteEduInsModal<?php echo $eduIns_value->education_institute_id; ?>" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
                    <?php
                    $id = $eduIns_value->education_institute_id;
                    $message = "Are you sure to delete this education institute?";
                    $this->cf->view_modal($id, $message);
                    ?>
                </div>     
            <?php } ?>
        </div>
    </div>
</div>                
<?php echo $pagination_link; ?>

