<?php
//echo '<pre>';
//print_r($quiz_info);
//exit();
//$id = $grade_info->grade_id;
//$status = $grade_info->grade_status;
?>
<a href="<?php //echo base_url() ?>edit-selected-grade"><i class="fa fa-edit" title="Edit"></i></a>
<span>&nbsp;&nbsp;</span>
<?php
//if ($status == 0) {
    ?>
    <a href="#" onclick="return checkForAction('<?php //echo base_url() . 'activate-grade/' . $id; ?>', 'Active', '<?php //echo $id; ?>')">
        <i class="fa  fa-user-plus" title="Active"></i>
    </a>&nbsp;&nbsp;
<?php // } else if ($status == 1) { ?>
    <a href="#" onclick="return checkForAction('<?php //echo base_url() . 'inactivate-grade/' . $id; ?>', 'Inactive', '<?php //echo $id; ?>')">
        <i class="fa  fa-user-times" title="Inactive"></i>
    </a>&nbsp;&nbsp;
<?php // } else if ($status == 2) { ?>
    <a href="#" onclick="return checkForAction('<?php //echo base_url() . 'activate-grade/' . $id; ?>', 'Active', '<?php //echo $id; ?>')">
        <i class="fa  fa-user-plus" title="Active"></i>
    </a>&nbsp;&nbsp;
<?php //} ?>

<?php //if ($status != 2) { ?>
    <a  href="#" onclick="return checkForAction('<?php //echo base_url() . 'archive-grade/' . $id; ?>', 'Delete', '<?php //echo $id; ?>')">
        <i class="fa fa-trash-o" title="Delete"></i>
    </a>&nbsp;&nbsp;
<?php //} ?>