aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPrashant Sahni <prashant.sahni5@gmail.com>2013-12-13 14:03:44 +0530
committerPrashant Sahni <prashant.sahni5@gmail.com>2013-12-13 14:03:44 +0530
commit330883196bf54f93acfdb1587ac86480e755a928 (patch)
tree9a5d5a0dfc26a863f941de965be1aa0b7cfc9817 /guides
parent5c5d5080b7ea008f0b4a5bf2e65bb22d24094cea (diff)
downloadrails-330883196bf54f93acfdb1587ac86480e755a928.tar.gz
rails-330883196bf54f93acfdb1587ac86480e755a928.tar.bz2
rails-330883196bf54f93acfdb1587ac86480e755a928.zip
form_tag with parameters fixed [ ci skip ]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_view_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index 769be9840c..2f1bd313a1 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -1285,7 +1285,7 @@ Creates a field set for grouping HTML form elements.
Creates a file upload field.
```html+erb
-<%= form_tag {action: "post"}, {multipart: true} do %>
+<%= form_tag({action:"post"}, multipart: true) do %>
<label for="file">File to Upload</label> <%= file_field_tag "file" %>
<%= submit_tag %>
<% end %>