<div class="demo-inline-spacing  ">

    <!-- view user btn -->

    <a type="button" class="btn btn-sm btn-warning action-row" title="{{trans('general.view')}}" style="margin: 0px;" id="view_{{ $id }}" href="{{route('admin.students.view',$id) }}">
        <i class="far fa-eye "></i>
    </a>

    <a type="button" class="btn btn-sm btn-primary action-row" title="{{trans('general.absence_records')}}" style="margin: 0px;" id="view_{{ $id }}" href="{{route('admin.students.absence',$id) }}"> 
        <i class="far fa-clipboard"></i>
    </a>

    <a type="button" class="btn btn-sm btn-primary action-row" title="{{trans('general.sumG')}}" style="margin: 0px;" id="view_{{ $id }}" href="{{route('admin.students.grade',$id) }}">
        <i class="far fa-clipboard"></i>
    </a>

    <!-- financials  btn -->
    <a type="button" class="btn btn-sm btn-dark action-row" title="{{trans('general.financials')}}" style="margin: 0px;" id="financials_{{ $id }}" href="{{route('admin.financial.student',$id) }}">
        <i class="fas fa-file-invoice-dollar"></i>
    </a>
    <!-- Edit user btn -->

    <a type="button" class="btn btn-sm btn-info action-row" title="{{trans('general.edit')}}" style="margin: 0px;" id="edit_{{ $id }}" href="{{route('admin.students.update',$id) }}">
        <i class="far fa-edit "></i>
        <!-- <i data-feather='edit'></i> -->
    </a>


    <button type="button" onclick="confirm(`{{trans('general.delete_student_confirmation')}}`) ? document.getElementById('del-student-{{ $id }}').submit() : false;" class="btn btn-sm btn-danger action-row" title="{{trans('general.delete')}}" style="margin: 0px;" id="delete_{{ $id }}">
        <i class="fas fa-trash "></i>
    </button>

    <button type="button" class="btn btn-sm btn-secondary action-row" onclick="showAddNoteModal('{{$id}}')" title="{{trans('general.note')}}" style="margin: 0px;" id="note_{{ $id }}">
        <i class="far fa-sticky-note"></i>
        <!-- <i data-feather='edit'></i> -->
    </button>
    <!-- close account btn -->
</div>
<form role="form" id="del-student-{{ $id }}" action="{{ route('admin.students.delete') }}" method="POST">
    @csrf
    <input type="hidden" name="student_id" value="{{ $id }}">
</form>