code for layouts, partials, and view helpers n lynda tutorial chapter 10