<table class="table table-hover">
                            <thead>
                                <tr>
                                  <th>Subjects</th>
                                  <th>Actions</th>
                                </tr>
                            </thead>
                            <tbody>
                            <?php foreach($subjects as $subject): ?>
                            <tr>
                                <td><?= $subject->subject_name; ?></td>
                                <td>
                                    <div style="width:80px;">
                                    <?php echo edit_action(base_url('subjects'),$subject->subject_ID); ?>
                                    <?php echo delete_action(base_url('subjects'),$subject->subject_ID); ?>
                                    </div>
                                </td>
                            </tr>
                            <?php endforeach; ?>
                            </tbody>
                            </table>