# Programming Phoenix 1.4 - updating nav in layout should be in root.html.heex? (page 97)

**URL:** <https://forum.devtalk.com/t/programming-phoenix-1-4-updating-nav-in-layout-should-be-in-root-html-heex-page-97/52475>\
**Category:** PragProg Customers\
**Tags:** book-programming-phoenix-1-4, errata\
**Created:** [29 April 2022 17:24 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-updating-nav-in-layout-should-be-in-root-html-heex-page-97/52475 "2022-04-29T17:24:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![timpritlove](https://forum.devtalk.com/user_avatar/forum.devtalk.com/timpritlove/32/4715_2.png) [@timpritlove](https://forum.devtalk.com/u/timpritlove)\
**Post date:** [25 December 2022 15:46 UTC](https://forum.devtalk.com/t/programming-phoenix-1-4-updating-nav-in-layout-should-be-in-root-html-heex-page-97/52475/2 "2022-12-25T15:46:19Z")

</div>

Looks like Phoenix has changed the default distribution of template code to separating it into a main “root” part in root.html.eex that includes the HTML header and putting in the body via “app.html.eex”. So the book should change that.

Also ` <%= render @view_module, @view_template, assigns %>` should be changed to `<%= @inner_content %>`. This should also be applied on Page 57.

---

_[View the full topic](https://forum.devtalk.com/t/programming-phoenix-1-4-updating-nav-in-layout-should-be-in-root-html-heex-page-97/52475)._
