(again a misleading name)
This function really is a create view and display view.

Create view cannot exist within the view, but can exist within the model or widget manager.  

I do agree the display view code should exist in the view.  I'll go ahead and make these changes.