<div id="upload_WorkFile<?php echo $counter; ?>">
    <div class="col-sm-12 padding-zero margin-top-20 white">
        <div class="col-sm-12"><br> </div>

        <!--WORK FILE-->
        <div class="form-group col-sm-6">
            <div>
                <div class="input-group">
                    <input type="text" 
                           data-errormessage-value-missing="Work Files Name is Required!"
                           class="form-control"
                           placeholder="Please Type Work File Name" 
                           name="work_file_name[<?php echo $counter; ?>]" 
                           id="work_file_name<?php echo $counter; ?>"
                           value="">
                    <span class="input-group-addon "  title="Please Type Work File Name"><i class="fa fa-file"></i></span>
                </div>
                <div id="file_name_error<?php echo $counter; ?>" style="color: red; display: none;"></div>
            </div>
        </div>



<!--        <div class="form-group col-sm-1 text-right" id="cancelWorkFile<?php //echo $counter; ?>">
            <a href="javascript:void(0)" id="deleteWorkFile<?php //echo $counter; ?>">
                <i class="fa fa-times-circle fa-2x"></i>
            </a>
            <div class="modal fade" style="" id="viewDeleteWorkFile<?php //echo $counter; ?>" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
                <?php
                //$message2 = '<span style="text-align:center">Are you sure you want to delete course work file?</span>';
                //$this->cf->view_modal($counter, $message2);
                ?>
            </div>           
        </div>-->
        <div class="col-sm-12"><br></div>



        <div class="form-group col-sm-6">
            <div class="text-left padding-zero col-sm-4">  <label >Access Level  :  &nbsp;&nbsp;</label></div>
            <div class="radio radio-success col-sm-8 radio-margin">
                <?php
                if ($course_type == 1) {
                    ?>
                    <input  type="radio" 
                            data-errormessage-value-missing="Work File Access Level is Required!"
                            class="control-form tokenize-sample" 
                            name="work_file_access_level[<?php echo $counter; ?>]" 
                            id="free" 
                            value="1" >
                    <label for="Free">Free</label>
                    <span style="margin-right: 20px"></span>
                    <input   type="radio" 
                             data-errormessage-value-missing="Work File Access Level is Required!"
                             class="control-form tokenize-sample" 
                             name="work_file_access_level[<?php echo $counter; ?>]"
                             id="paid" 
                             value="2">
                    <label for="Paid">Paid</label>
                <?php } elseif ($course_type == 2) {
                    ?>
                    <input  type="radio" 
                            data-errormessage-value-missing="Work File Access Level is Required!"
                            class="control-form tokenize-sample" 
                            name="work_file_access_level[<?php echo $counter; ?>]" 
                            id="free" 
                            value="1" checked="">
                    <label for="Free">Free</label>
                <?php }
                ?>
            </div>
            <div class="col-sm-12" id="work_file_access_level_error<?php echo $counter; ?>" style="margin-left: 20px; color: red;display: none;"> </div>
        </div>
        <div class="col-sm-12"><br></div>



        <div class="col-sm-12">
            <div class="form-group col-sm-6 padding-zero" >
                <div class="bootstrap-filestyle input-group">
                    <input id="upload_work_file<?php echo $counter; ?>" 
                           name="upload_work_file[]" type="file"
                           style="display:none;">
                    <input type="text" disabled="1"
                           class="form-control"
                           id="uploadedFileName<?php echo $counter; ?>" > 
                    <span class="group-span-filestyle input-group-btn" tabindex="1" >
                        <label for="upload_work_file<?php echo $counter; ?>" class="btn btn-default ">
                            <span class="buttonText">Choose file</span>
                        </label>
                    </span>
                </div>
            </div>
            <div class="col-sm-5" >
                <div class="col-sm-12" id="progressBar<?php echo $counter; ?>" style="display: none">
                    <div class="progress">
                        <div id="loadingProgressBar<?php echo $counter; ?>" class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" 
                             aria-valuemin="0" aria-valuemax="100" style="width:90%">
                        </div>
                    </div>
                </div>
            </div>
            <div id="upload_work_file_error<?php echo $counter; ?>" style="color: red; display: none" class="col-sm-12"></div>
            <div id="remaining_work_file_size<?php echo $counter; ?>" style="color: green; display: none;" class="col-sm-12"></div>
            <!--</div>-->
        </div>
    </div>
</div>