add party affiliation helper, clean up partials