added subject and pupil view in new/edit of event action