Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Carrie Gildersleeve
Carrie Gildersleeve
9,609 Points

Footer of treebook not in container div

I'm trying to format my treebook the way it was done in building a simple ror application. For some reason the footer (with the back button and submit form) are not being included. Here is my code:

<body>

<div class="container">
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>

    <%= yield %>
</div>

</body>

Am I missing a step??

1 Answer

Ian Carroll
Ian Carroll
1,901 Points

That's your application.html.erb. Back and submit buttons are in new.html.erb and _form.html.erb, respectively.