def legislator_inactive(request, abbr, legislator):
sponsored_bills = legislator.sponsored_bills(<EOL>limit=<NUM_LIT:6>, sort=[('<STR_LIT>', pymongo.DESCENDING)])<EOL>legislator_votes = list(legislator.votes_6_sorted())<EOL>has_votes = bool(legislator_votes)<EOL>return render(<EOL>request, templatename('<STR_LIT>'),<EOL>dict(vote_preview_row_template=templatename('<STR_LIT>'),<EOL>old_roles=legislator.old_roles_manager,<EOL>abbr=abbr,<EOL>metadata=legislator.metadata,<EOL>legislator=legislator,<EOL>sources=legislator['<STR_LIT>'],<EOL>sponsored_bills=list(sponsored_bills),<EOL>legislator_votes=legislator_votes,<EOL>has_votes=has_votes,<EOL>nav_active='<STR_LIT>'))<EOL>
Context:
    - vote_preview_row_template
    - old_roles
    - abbr
    - metadata
    - legislator
    - sources
    - sponsored_bills
    - legislator_votes
    - has_votes
    - nav_active

Templates:
    - billy/web/public/legislator.html
    - billy/web/public/vote_preview_row.html