add custom edit form for teacher resources so that we can redirect back to resources view after save/cancel actions.