Looks like a shift cable of some kind has popped loose.
I would also get a can of brake cleaner and clean that area. Then if it leaks again, you maybe able to pinpoint where it’s coming from.
Also check your transmission fluid to make sure it isn’t low.
Sent from my iPhone using Tapatalk