Browse files

Merge pull request #13305 from psahni/form_tag_with_parameters

form_tag with parameters fixed [ci skip]
  • Loading branch information...
1 parent 6df07a3 commit 995ab46a08e2e5747b63c75521ab8f5ca2bf922e @senny senny committed Dec 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/action_view_overview.md
View
2 guides/source/action_view_overview.md
@@ -1259,7 +1259,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 %>

0 comments on commit 995ab46

Please sign in to comment.