Using local variable in partial instead of instance variable.