1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix wrong hash syntax

This commit is contained in:
Mikhail Dieterle 2013-01-01 20:40:59 +03:00
parent a4eaecc833
commit 1371b24cce

View file

@ -238,7 +238,7 @@ end
The corresponding view `app/views/articles/new.html.erb` using `form_for` looks like this:
```erb
<%= form_for @article, url: {action: "create"}, html => {class: "nifty_form"} do |f| %>
<%= form_for @article, url: {action: "create"}, html: {class: "nifty_form"} do |f| %>
<%= f.text_field :title %>
<%= f.text_area :body, size: "60x12" %>
<%= f.submit "Create" %>