Refactor out instance variables in quote partial views