lib/generators/skeleton/templates/app/views/layouts/application.html.erb in template-0.4.0 vs lib/generators/skeleton/templates/app/views/layouts/application.html.erb in template-0.5.0
- old
+ new
@@ -12,25 +12,15 @@
<div id="container">
<div id="header">
<!-- Main header here -->header
</div>
<div id="top-nav">
- <ul>
- <li>Top nav item 1</li>
- <li>Top nav item 2</li>
- <li>Top nav item 3</li>
- <li>Top nav item 4</li>
- </ul>
+ <%= render_navigation(:level => 1) %>
</div>
<div id="main">
<div id="left-nav">
- <!-- Place left navigation here -->
- <ul>
- <li>Left nav item 1</li>
- <li>Left nav item 2</li>
- <li>Left nav item 3</li>
- </ul>
+ <%= render_navigation(:level => 2) %>
</div>
<div id="content">
<div id="contentPadder">
<%%= yield %>
</div>