aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-02-01 22:18:36 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-02-01 22:18:36 +0530
commitd566fa7721e0fdb46acda282a8d34a4cba8aea3b (patch)
treeb031a019104d3cfdc772a543cb974e6b85474c09 /railties/guides
parentc6d880f48d133ff287677a67e8fb881b8bcbfaf3 (diff)
downloadrails-d566fa7721e0fdb46acda282a8d34a4cba8aea3b.tar.gz
rails-d566fa7721e0fdb46acda282a8d34a4cba8aea3b.tar.bz2
rails-d566fa7721e0fdb46acda282a8d34a4cba8aea3b.zip
Revert "fixing text to match what is being displayed"
This reverts commit 5be94cedce3f80923661a2f1fee02c9bfc2e95b2. Reason: This commit is incorrect.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/layouts_and_rendering.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile
index d010234e78..5cff2d0893 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/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: