Fix view helper documentation and example to reflect context

View context is no longer the view so the previous example doesn't actually work anymore.