I am on page 78 of the rapid rails book, where you rename a tab.   I renamed 
the "Recipes" tab to "My Recipes", and in the browser it no longer gets the 
"li.current" style when you select it.   I am trying to understand how hobo 
generates html from the dryml, and I don't see why changing the text inside the 
dryml tag makes any difference.

When the line in application.dryml is :

<nav-item with="&Recipe"><ht key="recipes.nav_item">Recipes</ht></nav-item>

the html generated is:

<li class="current">
    <a class="class-link" href="/recipes">Recipes</a>
  </li>

But when I change the dryml to 
<nav-item with="&Recipe"><ht key="recipes.nav_item">My Recipes</ht></nav-item>
the html generated is 

 <li class="">
    <a class="class-link" href="/recipes">My Recipes</a>
  </li>

Thanks for your responses!   If there is a better place to post questions like 
this, please let me know.

Mark

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to