Eliminated some passing of local variables to partials in views in favor of helper methods