<div class="demo-inline-spacing justify-content-around ">


    <button type="button" onclick="confirm(`{{trans('general.delete_record_confirmation')}}`) ? document.getElementById('delete-exam-program-{{ $id }}').submit() : false;" class="btn btn-sm btn-danger action-row" title="{{trans('general.delete')}}" style="margin: 0px;" id="close_{{ $id }}">
        <i class="far fa-trash-alt "></i>
    </button>

    <!-- close account btn -->
</div>
<form id="delete-exam-program-{{ $id }}" action="{{ route('admin.exams.programs.delete') }}" method="POST">
    @csrf
    <input type="hidden" name="exam_program_id" value="{{ $id }}">
</form>