Added validation methods to assignment, refactored assignment views to use a form partial.