mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix extra = in code example for _form.html.erb in Getting Started 6.4.1
This commit is contained in:
parent
37bf2ad202
commit
1e404af909
1 changed files with 2 additions and 2 deletions
|
@ -1144,7 +1144,7 @@ the following contents:
|
|||
<div>
|
||||
<%= form.label :title %><br>
|
||||
<%= form.text_field :title %>
|
||||
<%= article.errors.full_messages_for(:title).each do |message| %>
|
||||
<% article.errors.full_messages_for(:title).each do |message| %>
|
||||
<div><%= message %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
@ -1152,7 +1152,7 @@ the following contents:
|
|||
<div>
|
||||
<%= form.label :body %><br>
|
||||
<%= form.text_area :body %><br>
|
||||
<%= article.errors.full_messages_for(:body).each do |message| %>
|
||||
<% article.errors.full_messages_for(:body).each do |message| %>
|
||||
<div><%= message %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue