layout and content_for from railscast 7 and 8