Permalink
Browse files

Merge pull request #13305 from psahni/form_tag_with_parameters

form_tag with parameters fixed [ci skip]
  • Loading branch information...
2 parents 9b8f7e0 + 3308831 commit 7ce846c17784f8fca930c850ab6dae3555b66f8c @senny senny committed Dec 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 %>

0 comments on commit 7ce846c

Please sign in to comment.