           
<div class="panel panel-default">
    <?php
    $query = $this->main_model->result_info($id);
    foreach ($query as $row):
        ?>
        <div class="panel-heading">
            <h6 class="panel-title"><i class="fa fa fa-align-justify"></i> Board Result Information | Edit</h6>
            <a href="<?php echo site_url('everbright/result'); ?>" 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/result/edit/' . $row['id']); ?>" 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>Class(S.S.C/J.S.C/J.D.C)<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['class']; ?>"  placeholder="Class(S.S.C/J.S.C/J.D.C)" name="class">
                            </div>
                        </div> 
                    </div>
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>Year of Passing<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['pass_year']; ?>"  placeholder="Year of Passing" name="pass_year">
                            </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>Total Student<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['total_stu']; ?>"  placeholder="Total Student" name="total_stu">
                            </div>
                        </div> 
                    </div>
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>A+<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['aplus']; ?>"  placeholder="A+" name="aplus">
                            </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>A<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['normala']; ?>"  placeholder="A" name="normala">
                            </div>
                        </div> 
                    </div>
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>A-<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['aminus']; ?>"  placeholder="A-" name="aminus">
                            </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>B<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['normalb']; ?>"  placeholder="B" name="normalb">
                            </div>
                        </div> 
                    </div>
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>C<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['normalc']; ?>"  placeholder="C" name="normalc">
                            </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>D<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['normald']; ?>"  placeholder="D" name="normald">
                            </div>
                        </div> 
                    </div>
                    <div class="col-md-6">                   
                        <div class="form-group">
                            <label class="col-sm-4 control-label text-right"><span>Percentage of Pass<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['percentage']; ?>"  placeholder="Percentage of Pass" name="percentage">
                            </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>
