componentise the exam edit view