mirror of https://github.com/rails/rails
Merge pull request #13305 from psahni/form_tag_with_parameters
form_tag with parameters fixed [ci skip]
This commit is contained in:
commit
7ce846c177
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue