On 18 Jun., 11:54, Nathan Weizenbaum <[email protected]> wrote:
> what's the ERB code you're using that works?

Looks like this:

<% content_for :subnavigation do %>
  <ul>
    <li><%= link_to_unless_current('All Users', users_path) %></li>
    <%li class="active"><%= link_to_unless_current('New user',
new_user_path) %></li>
  </ul>
<% end %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to