diff options
author | Xavier Noria <fxn@hashref.com> | 2008-05-17 12:44:48 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-05-17 12:44:48 +0200 |
commit | 82a1b93c6a5f0ee866a270f66c8b051175c9793b (patch) | |
tree | c5ae820d9f12acf5fecd0c06d7b82b3ee3c881e6 | |
parent | e535c037e3bb8e78d873b9330900dce37071d735 (diff) | |
download | rails-82a1b93c6a5f0ee866a270f66c8b051175c9793b.tar.gz rails-82a1b93c6a5f0ee866a270f66c8b051175c9793b.tar.bz2 rails-82a1b93c6a5f0ee866a270f66c8b051175c9793b.zip |
small touches to the form_for docs revision
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 88c2d7ba9d..940f1c9b5d 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -137,8 +137,8 @@ module ActionView # In any of its variants, the rightmost argument to +form_for+ is an # optional hash of options: # - # * <tt>:url</tt> - The URL the form is submit to. It takes the same fields - # you pass to`+url_for+ or +link_to+. In particular you may pass here a + # * <tt>:url</tt> - The URL the form is submitted to. It takes the same fields + # you pass to +url_for+ or +link_to+. In particular you may pass here a # named route directly as well. Defaults to the current action. # * <tt>:html</tt> - Optional HTML attributes for the form tag. # @@ -185,7 +185,7 @@ module ActionView # ... # <% end %> # - # expands to be the same as + # expands to # # <% form_for :post, Post.new, :url => posts_path, :html => { :class => "new_post", :id => "new_post" } do |f| %> # ... |