Permalink
Browse files

Merge pull request #13657 from leriksen/master

[ci skip] - error_messages_for has been deprecated since 2.3.8 - lets re...
  • Loading branch information...
2 parents 07f6a1c + 951bb84 commit 8ad161201100b1ecb976e0096ab5a0936a934ac4 @senny senny committed Jan 10, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −2 guides/source/layouts_and_rendering.md
@@ -1008,15 +1008,13 @@ You can also pass local variables into partials, making them even more powerful
```html+erb
<h1>New zone</h1>
- <%= error_messages_for :zone %>
<%= render partial: "form", locals: {zone: @zone} %>
```
* `edit.html.erb`
```html+erb
<h1>Editing zone</h1>
- <%= error_messages_for :zone %>
<%= render partial: "form", locals: {zone: @zone} %>
```

0 comments on commit 8ad1612

Please sign in to comment.