diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-12-13 00:59:46 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-12-13 00:59:46 -0800 |
commit | 7ce846c17784f8fca930c850ab6dae3555b66f8c (patch) | |
tree | 3b32de980f579788b0a8b47bcc22b9d4018750c0 /guides/source/action_view_overview.md | |
parent | 9b8f7e030354144840505c99d30b4bed6759b620 (diff) | |
parent | 330883196bf54f93acfdb1587ac86480e755a928 (diff) | |
download | rails-7ce846c17784f8fca930c850ab6dae3555b66f8c.tar.gz rails-7ce846c17784f8fca930c850ab6dae3555b66f8c.tar.bz2 rails-7ce846c17784f8fca930c850ab6dae3555b66f8c.zip |
Merge pull request #13305 from psahni/form_tag_with_parameters
form_tag with parameters fixed [ci skip]
Diffstat (limited to 'guides/source/action_view_overview.md')
-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 %> |