From 82a1b93c6a5f0ee866a270f66c8b051175c9793b Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 17 May 2008 12:44:48 +0200 Subject: small touches to the form_for docs revision --- actionpack/lib/action_view/helpers/form_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack') 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: # - # * :url - 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 + # * :url - 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. # * :html - 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| %> # ... -- cgit v1.2.3