<div class="dropdown CRM_dropdown">
    <button class="btn btn-secondary dropdown-toggle" type="button"
            id="dropdownMenu2" data-bs-toggle="dropdown"
            aria-haspopup="true"
            aria-expanded="false">
        {{__('common.Action')}}
    </button>
    <div class="dropdown-menu dropdown-menu-right"
         aria-labelledby="dropdownMenu2">
        @if (permissionCheck($group==2?'noticeboard.course.update':'noticeboard.update'))
            <a data-id="{{$notice->id}}"
               data-group="{{$group}}"
               class="editCourseNotice dropdown-item"
            >{{__('common.Edit')}}</a>
        @endif
        @if (permissionCheck($group==2?'noticeboard.course.delete':'noticeboard.delete'))
            <button data-id="{{$notice->id}}"
                    data-group="{{$group}}"
                    class="deleteCourseNotice dropdown-item"
                    type="button">{{__('common.Delete')}}</button>

        @endif
    </div>
</div>
