           
<div class="panel panel-default">
    <?php
    $query = $this->main_model->banner_info($id);
    foreach ($query as $row):
        ?>
        <div class="panel-heading">
            <h6 class="panel-title"><i class="fa fa fa-align-justify"></i> banner Information | Edit</h6>
            <a href="<?php echo site_url('everbright/banner'); ?>" 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/banner/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>Title<span class="mandatory">*</span></span></label>
                            <div class="col-sm-8">
                                <input type="text" class="required  form-control " value="<?php echo $row['title']; ?>"  placeholder="Title" name="title">
                            </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>
