created partial and cleaned up views for new and edit pages