Updated teacher views to use assignments infrastructure.