Skip to content
Browse files

form_tag with parameters fixed [ ci skip ]

  • Loading branch information...
1 parent 5c5d508 commit 330883196bf54f93acfdb1587ac86480e755a928 @psahni psahni 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
@@ -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 3308831

Please sign in to comment.
Something went wrong with that request. Please try again.