<?php  
    $edit_data = $this->db->get_where('competencia' , array('competencia_id' => $param2) )->result_array();
    foreach($edit_data as $row):
?>    
    <?php echo form_open(base_url() . 'teacher/manage_marks/edit_competition/'.$param3.'/'.$param4.'/'.$param5.'/'.$row['competencia_id'].'/', array('enctype' => 'multipart/form-data')); ?>
        <div class="modal-content">
            <div class="modal-header">
                <h6 class="title"><?php echo getEduAppGTLang('update_competence');?></h6>
            </div>
            <div class="modal-body">
                <div class="ui-block-content">
                    <div class="row">
                        <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                            <div class="form-group label-floating">
                                <label class="control-label"><?php echo getEduAppGTLang('name');?></label>
                                <input class="form-control" placeholder="" name="name" value="<?php echo $row['name'];?>" type="text" required>
                            </div>
                        </div>
                        <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                            <button class="btn btn-success btn-lg full-width" type="submit"><?php echo getEduAppGTLang('save');?></button>
                        </div>
                    </div>
                </div>
            </div>
        <?php echo form_close();?>
    </div>
<?php endforeach; ?>