Use local variables instead of instance variables for passing data to partials