diff options
author | Mikhail Dieterle <MikDiet@gmail.com> | 2013-01-01 20:40:59 +0300 |
---|---|---|
committer | Mikhail Dieterle <MikDiet@gmail.com> | 2013-01-01 20:40:59 +0300 |
commit | 1371b24cce71cb8e5a2c9f7cf82f5448188249f6 (patch) | |
tree | 0cb5a4168cd44967a28a9edf364457e9ac941db6 | |
parent | a4eaecc83344897a3e6129be31ed622d255b1b20 (diff) | |
download | rails-1371b24cce71cb8e5a2c9f7cf82f5448188249f6.tar.gz rails-1371b24cce71cb8e5a2c9f7cf82f5448188249f6.tar.bz2 rails-1371b24cce71cb8e5a2c9f7cf82f5448188249f6.zip |
fix wrong hash syntax
-rw-r--r-- | guides/source/form_helpers.md | 2 |
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" %> |