提交 951bb848 编写于 作者: L leriksen

[ci skip] - error_messages_for has been deprecated since 2.3.8 - lets reduce...

[ci skip] - error_messages_for has been deprecated since 2.3.8 - lets reduce any confusion for users
上级 8a5b480e
......@@ -1008,7 +1008,6 @@ 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} %>
```
......@@ -1016,7 +1015,6 @@ You can also pass local variables into partials, making them even more powerful
```html+erb
<h1>Editing zone</h1>
<%= error_messages_for :zone %>
<%= render partial: "form", locals: {zone: @zone} %>
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册