Merge pull request #13305 from psahni/form_tag_with_parameters

form_tag with parameters fixed [ci skip]
This commit is contained in:
Yves Senn 2013-12-13 00:59:46 -08:00
commit 7ce846c177
1 changed files with 1 additions and 1 deletions

View File

@ -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 %>