template/view: make add exam work, need to figure out how to show foreignkeys