Skip to content

Commit ddbc0b3

Browse files
committed
add spoilers for bootstrap navbar directly to bootstrap page
1 parent 2a24151 commit ddbc0b3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sites/intermediate-rails/make_it_pretty_with_bootstrap.step

+16
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,20 @@ message <<-MARKDOWN
3131
MARKDOWN
3232
end
3333

34+
h1 "Really Big Hint"
35+
message "If you can't get the right HTML mojo for the Bootstrap nav bar, or want to move on quickly to the next page, here's some code you can drop into your layout (after installing Bootstrap!) that should work. The code should go immediately after your &lt;body&gt; tag."
36+
pre <<-MARKDOWN
37+
<div class="navbar">
38+
<div class="navbar-inner">
39+
<a class="brand" href="#">Message Board</a>
40+
<ul class="nav">
41+
<li class="active"><a href="/">Home</a></li>
42+
</ul>
43+
<p class="navbar-text pull-right">logged_in_user@email.com | <a href="log_out_link_here">Log Out</a></p>
44+
</div>
45+
</div>
46+
MARKDOWN
47+
48+
message "***You still have to add code to show the real logged in user and add a real log out button!***"
49+
3450
next_step "add_pages_to_create_and_look_at_individual_posts"

0 commit comments

Comments
 (0)