Displaying 1 result from an estimated 1 matches for "tabbed_navigators".
Did you mean:
tabbed_navigator
2007 Aug 22
1
Tabbed Navigation
...l be used in place of the content specified in the else
block.
Here''s what new_tabs and edit_tabs looks like.
def self.new_tabs
[tab("Description", :new_ingredient_path, :needs => [:recipe])]
end
This will likely abstract a little more as we add more views that need
tabbed_navigators, but I''ll hold off on that to see where the repetition
crops up.
''tabbed_navigator'' helper takes the array of tabs and renders them as an ul
with links. Highlighting rules are currently done with a current_page? call.
tab(name, url_for_method, options) Returns a Hash wi...