
<div class="form-group col-sm-4" style="padding: 0px;">
    <label for="course_batch_id">Select Course Batch</label><span class="required"> * </span>
    <select data-errormessage-value-missing="Course Batch is required!" 
            class="form-control validate[required] text-input"
            id="course_batch_id" name="course_batch_id" onchange="addCourseBatch(this.value);" style="float:left;">
        <option value="">Select Course Batch</option>
        <?php foreach ($course_batches as $v_course_batch) { ?>
            <option value="<?php echo $v_course_batch->course_batch_id; ?>"><?php echo $v_course_batch->course_batch_name; ?></option>
        <?php } ?>
        <!--<option value="other">Other</option>-->
    </select>
</div>
<div class="form-group col-sm-5 required" ><?php echo form_error('quiz_category_name'); ?></div>
<div id="other_batch" class="form-group col-sm-4"></div>
<div class="form-group col-sm-4" id="batch_status"></div>
