Displaying 1 result from an estimated 1 matches for "new_tabs".
Did you mean:
new_abo
2007 Aug 22
1
Tabbed Navigation
...d :recipe_editor_tabs
- else
= tabbed_navigator(RecipesController.send "edit_tabs")
If any templates/sub-templates/partials used in this render have something
like this:
- content_for(''recipe_editor_tabs'' ) do
= tabbed_navigator(RecipesController.send "new_tabs")
That content will 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...