           
<div class="panel panel-default">
    <?php
    $query = $this->main_model->classroutine_info($id);
    foreach ($query as $row):
        ?>
        <div class="panel-heading">
            <h6 class="panel-title"><i class="fa fa fa-align-justify"></i> Class Routine | Edit</h6>
            <a href="<?php echo site_url('everbright/classroutine'); ?>" 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/classroutine/edit/' . $row['id']); ?>" method="post" class="form-horizontal validate" role="form"> 

                
				<div class="row">
                <!-- ATTN -->
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Title<span class="mandatory">*</span> </label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control" placeholder="Title" name="title" value="<?php echo $row['title']; ?>">
                        </div>
                    </div> 
                </div> 
                <!-- SHIPPER -->
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">File Type<span class="mandatory">*</span> </label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control" placeholder="File Type" name="page" value="<?php echo $row['page']; ?>">
                        </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>
