Applying an assignment template to an assignment