aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorPatrick Davey <Patrick@egressive.com>2012-01-31 13:25:34 +1300
committerPatrick Davey <Patrick@egressive.com>2012-01-31 13:25:34 +1300
commit5be94cedce3f80923661a2f1fee02c9bfc2e95b2 (patch)
tree6da33120796d086a680580ef7f43198541545c91 /railties/guides
parentbc2e0624aed9b0396fe0e85ba2b52fd7a76657c7 (diff)
downloadrails-5be94cedce3f80923661a2f1fee02c9bfc2e95b2.tar.gz
rails-5be94cedce3f80923661a2f1fee02c9bfc2e95b2.tar.bz2
rails-5be94cedce3f80923661a2f1fee02c9bfc2e95b2.zip
fixing text to match what is being displayed
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 5cff2d0893..d010234e78 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 "Create Zone" for the new action and "Update Zone" for the edit action.
+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.
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: