Skip to content
blizz edited this page Sep 12, 2010 · 3 revisions

automatically generated navigation control

example <main-nav> tag generated in app/views/taglibs/auto/rapid/pages.dryml if you have hobo 0.8.0


<def tag="main-nav"> <navigation class="main-nav" merge-attrs> <nav-item href="#{base_url}/">Home</nav-item> <nav-item with="&Image">Images</nav-item> <nav-item with="&Question">Questions</nav-item> <nav-item with="&Recipe">Recipes</nav-item> <nav-item with="&User">Users</nav-item>

You can override this in app/views/taglibs/applicaction.dryml to create a custom navigation control for your app

Clone this wiki locally