How to pass variables to a partial template?

You are passing 3 arguments to partial; it can accept only 2.

See: