Permalink
Browse files

Revert "fixing text to match what is being displayed"

This reverts commit 5be94ce.

Reason: This commit is incorrect.
  • Loading branch information...
1 parent c6d880f commit d566fa7721e0fdb46acda282a8d34a4cba8aea3b @vijaydev vijaydev committed Feb 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
@@ -1086,7 +1086,7 @@ You can also pass local variables into partials, making them even more powerful
<% end %>
</erb>
-Although the same partial will be rendered into both views, Action View's submit helper will return "New zone" for the new action and "Editing zone" for the edit action.
+Although the same partial will be rendered into both views, Action View's submit helper will return "Create Zone" for the new action and "Update Zone" for the edit action.
Every partial also has a local variable with the same name as the partial (minus the underscore). You can pass an object in to this local variable via the +:object+ option:

0 comments on commit d566fa7

Please sign in to comment.