aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMikhail Dieterle <MikDiet@gmail.com>2013-01-01 20:40:59 +0300
committerMikhail Dieterle <MikDiet@gmail.com>2013-01-01 20:40:59 +0300
commit1371b24cce71cb8e5a2c9f7cf82f5448188249f6 (patch)
tree0cb5a4168cd44967a28a9edf364457e9ac941db6 /guides
parenta4eaecc83344897a3e6129be31ed622d255b1b20 (diff)
downloadrails-1371b24cce71cb8e5a2c9f7cf82f5448188249f6.tar.gz
rails-1371b24cce71cb8e5a2c9f7cf82f5448188249f6.tar.bz2
rails-1371b24cce71cb8e5a2c9f7cf82f5448188249f6.zip
fix wrong hash syntax
Diffstat (limited to 'guides')
-rw-r--r--guides/source/form_helpers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index 12ef28668d..5107038e80 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -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" %>