diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-12-08 23:11:37 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-12-08 23:11:37 +0530 |
commit | 0a33fcd68bb2c56b8c2eba066f343484a44fa588 (patch) | |
tree | d54d667ff16f99274fdec0edaf7df98bf8eba6ef /guides/source/action_view_overview.md | |
parent | 1233fc6de145932f3cd46c784ea78234cfa743b2 (diff) | |
parent | 729798068a54dbbe553c71f0283cb6ad74c2e77c (diff) | |
download | rails-0a33fcd68bb2c56b8c2eba066f343484a44fa588.tar.gz rails-0a33fcd68bb2c56b8c2eba066f343484a44fa588.tar.bz2 rails-0a33fcd68bb2c56b8c2eba066f343484a44fa588.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/action_view_overview.md')
-rw-r--r-- | guides/source/action_view_overview.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 47e8ba3a73..6c2871d478 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -1263,10 +1263,8 @@ Creates a field set for grouping HTML form elements. Creates a file upload field. -Prior to Rails 3.1, if you are using file uploads, then you will need to set the multipart option for the form tag. Rails 3.1+ does this automatically. - ```html+erb -<%= form_tag {action: "post"}, {multipart: true} do %> +<%= form_tag {action: "post"} do %> <label for="file">File to Upload</label> <%= file_field_tag "file" %> <%= submit_tag %> <% end %> |