Skip to content
Browse files

fixing text to match what is being displayed

  • Loading branch information...
1 parent bc2e062 commit 5be94cedce3f80923661a2f1fee02c9bfc2e95b2 @patrickdavey patrickdavey committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
View
2 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:

0 comments on commit 5be94ce

Please sign in to comment.
Something went wrong with that request. Please try again.