Fix extra = in code example for _form.html.erb in Getting Started 6.4.1

This commit is contained in:
Mike Esposito 2020-12-19 20:48:41 -08:00
parent 37bf2ad202
commit 1e404af909
1 changed files with 2 additions and 2 deletions

View File

@ -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>