Move tab page rendering logic out of StashForm