Moved view info out of the template