Edit main view.