<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
    <div class="col-md-5 col-8 align-self-center">
        <h3 class="text-themecolor">School</h3>
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
            <li class="breadcrumb-item active">School > Students</li>
        </ol>
    </div>
    <div class="col-md-7 col-4 align-self-center">
        <!--a href="https://themewagon.com/themes/bootstrap-4-responsive-admin-template/" class="btn waves-effect waves-light btn-danger pull-right hidden-sm-down"></a-->
    </div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<!-- Row -->
<div class="row">
    <!-- Column -->
    <div class="col-sm-12 col-lg-12">
        <div class="card">
            <div class="card-header text-center lead bg-light mb-3 ">
                Students in form 1
            </div>
            <div class="card-body p-2">
                <table class="table" id="student_classes_table">
                    <thead>
                        <tr>
                            <th>Fist Name</th>
                            <th>Last Name</th>
                            <th>Middle Names</th>
                            <th>Gender</th>
                            <th>Date of Birth</th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>Mwenewezi</td>
                            <td>Chanika</td>
                            <td>C</td>
                            <td>Male</td>
                            <td>21/10/1998</td>
                            
                            <td>
                                <button class="btn btn-primary btn-sm" onclick="edit_student_view()">
                                    <span class="fas fa-edit"></span>
                                </button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>     



<script>  
 $(document).ready(function(){  
    if(document.getElementById("student_classes_table")!==null){
      $('#student_classes_table').DataTable({
        columnDefs: [
          {bSortable: false, targets: [5]} 
        ]
      });
    }
        
 });  
 </script>