           
<div class="panel panel-default">
    <?php
    $query = $this->main_model->institution_info($iid);
    foreach ($query as $row):
        ?>
        <div class="panel-heading">
            <h6 class="panel-title"><i class="fa fa fa-align-justify"></i> Institution Info. | Edit</h6>
            <a href="<?php echo site_url('everbright/institution'); ?>" 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/institution/edit/' . $row['iid']); ?>" 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>ID<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['id']; ?>"  placeholder="ID" name="id">
                            </div>
                        </div> 
                    </div>
					<div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>Title<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['ins_title']; ?>"  placeholder="Title" name="ins_title">
                            </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>Name<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['ins_name']; ?>"  placeholder="Name" name="ins_name">
                            </div>
                        </div> 
                    </div>
					<div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>EIIN<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['eiin']; ?>"  placeholder="EIIN" name="eiin">
                            </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>
