Updated partials to use locals instead of a @record class variable