This is an excerpt from Manning's book hapi.js in Action. Login to get full access to this book.
Figure 3.11. Deconstructing the home page into a layout, view, and partials
Finally you can create the view for the success page, as shown in the following listing. This is a simple view, containing only a quick message.