Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #13305 from psahni/form_tag_with_parameters

form_tag with parameters fixed [ci skip]
  • Loading branch information...
commit 995ab46a08e2e5747b63c75521ab8f5ca2bf922e 1 parent 6df07a3
@senny senny authored
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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.