Moved error messages and form fields from edit and new views to this file