diff options
author | Prashant Sahni <prashant.sahni5@gmail.com> | 2013-12-13 14:03:44 +0530 |
---|---|---|
committer | Prashant Sahni <prashant.sahni5@gmail.com> | 2013-12-13 14:03:44 +0530 |
commit | 330883196bf54f93acfdb1587ac86480e755a928 (patch) | |
tree | 9a5d5a0dfc26a863f941de965be1aa0b7cfc9817 /guides/source | |
parent | 5c5d5080b7ea008f0b4a5bf2e65bb22d24094cea (diff) | |
download | rails-330883196bf54f93acfdb1587ac86480e755a928.tar.gz rails-330883196bf54f93acfdb1587ac86480e755a928.tar.bz2 rails-330883196bf54f93acfdb1587ac86480e755a928.zip |
form_tag with parameters fixed [ ci skip ]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/action_view_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 769be9840c..2f1bd313a1 100644 --- a/guides/source/action_view_overview.md +++ b/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 %> |