<form id="del-frm{{ $indexKey }}" class="d-inline"
    method="post"
    action="{{ route('student.delete_booking') }}"
    onsubmit="confirmalert(event, {{ $indexKey }}, 'เวลาเรียน')"
>
@csrf
    <input type="hidden" name="vehicleBookingID" id="vehicle-booking{{ $indexKey }}" value="{{$booking->vbid}}">
    <input type="hidden" name="sid" id="sidDel{{ $indexKey }}" value="{{$student->sid}}">
    <input type="hidden" name="logStudent" id="logStudentDel{{ $indexKey }}" value="{{ $student->title.strip_tags($student->firstname)." ".strip_tags($student->lastname) }}">
    <button type="submit" class="btn del-btn btn-sm ml-2" title="ลบเวลาเรียน" id="delBtn{{ $indexKey }}">
        <i class="far fa-trash-alt"></i>
    </button>
</form>
