<div class="col-sm-10">
    <div class="row ">
        <div class="col-sm-12 padding-zero">
            <div class="col-sm-12 ">
                <div class="col-sm-4 form-group">
                    <a href="<?php echo base_url(); ?>super-admin/add-course-topic" class="btn btn-sm btn-success ">Add Course Topic</a>
                </div>
            </div>
        </div>


        <div class="col-sm-12 "><br></div>
        <div class="col-sm-12" id="view_course_topic">       
            <div class="col-sm-12" ><br>  <hr></div>
            <div class="col-sm-12" >
                <div class="col-sm-12 gray_ttc" style="border-bottom: 2px solid #8CC73F;padding-top: 10px;padding-bottom: 10px;font-weight: bold">
                    <div class="col-sm-5 col-sm-offset-1">Topic Name</div>
                    <div class="col-sm-1">Action</div>
                </div>


                <div class="col-sm-12"><br></div> 
                <?php
                foreach ($all_course_topic as $topic_value) {
                    ?>
                    <div class="col-sm-12 gray_ttc " style="padding-top: 10px;padding-bottom: 10px;">
                        <div class="col-sm-5 col-sm-offset-1"><?php echo $topic_value->course_topic_name; ?></div>
                        <div class="col-sm-1">
                            <a href="javascript:void(0)"
                               onclick="deleteCOurseTopic('<?php echo base_url().'delete-course-topic/'.$topic_value->course_topic_id ?>')" >
                                <i class="fa fa-trash-o" title="Delete"></i></a>
                        </div>
                    </div>
                    <?php
                }
                ?>
            </div>
        </div>

        


    </div>
    <div class="col-sm-12 "><br></div>
    <div class="col-sm-12 gray" style="padding-left: 10px">
        <a href="<?php echo base_url(); ?>super_admin">Dashboard</a>->> <span> Manage Course Topic </span>
    </div>
    <div class="col-sm-12 "><br></div>
</div>


<script type="text/javascript" src="<?php echo base_url() ?>back_end_resource/course/course.js"></script>