What was the code? Looks like you have possibly more than just the transmission leaking. Obviously been seeping for quite some time. To be honest I’m not sure what leak you are talking about on the picture. Everything is wet with what looks like coolant possibly.