Render labels for pills in template, taken as args to view init