diff options
author | Xavier Noria <fxn@hashref.com> | 2008-05-21 13:39:50 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-05-21 13:39:50 +0200 |
commit | 8174d91273d7e844787b6b2b138567ed787d4a56 (patch) | |
tree | 6343fedbfb4b1acb8b4610014f7660795ce49523 | |
parent | 401690fea3d136581231444966eaa21f5c376b3b (diff) | |
download | rails-8174d91273d7e844787b6b2b138567ed787d4a56.tar.gz rails-8174d91273d7e844787b6b2b138567ed787d4a56.tar.bz2 rails-8174d91273d7e844787b6b2b138567ed787d4a56.zip |
revised font of constants in Action View
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 4 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/scriptaculous_helper.rb | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 59d95d3631..40428a19bf 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -119,7 +119,7 @@ module ActionView # end # end # - # Sample usage (selecting the associated +Author+ for an instance of +Post+, <tt>@post</tt>): + # Sample usage (selecting the associated Author for an instance of +Post+, <tt>@post</tt>): # collection_select(:post, :author_id, Author.find(:all), :id, :name_with_initial, {:prompt => true}) # # If <tt>@post.author_id</tt> is already <tt>1</tt>, this would return: @@ -172,7 +172,7 @@ module ActionView # Accepts a container (hash, array, enumerable, your type) and returns a string of option tags. Given a container # where the elements respond to first and last (such as a two-element array), the "lasts" serve as option values and # the "firsts" as option text. Hashes are turned into this form automatically, so the keys become "firsts" and values - # become lasts. If +selected+ is specified, the matching "last" or element will get the selected option-tag. +Selected+ + # become lasts. If +selected+ is specified, the matching "last" or element will get the selected option-tag. +selected+ # may also be an array of values to be selected when using a multiple select. # # Examples (call, result): diff --git a/actionpack/lib/action_view/helpers/scriptaculous_helper.rb b/actionpack/lib/action_view/helpers/scriptaculous_helper.rb index 12b4cfd3f8..f948ddc6b0 100644 --- a/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +++ b/actionpack/lib/action_view/helpers/scriptaculous_helper.rb @@ -202,9 +202,9 @@ module ActionView # :onDrop => "function(draggable_element, droppable_element, event) { alert('I like bananas') }" # # This callback gets three parameters: - # The +Draggable+ element, the +Droppable+ element and the - # +Event+ object. You can extract additional information about the - # drop - like if the Ctrl or Shift keys were pressed - from the +Event+ object. + # The Draggable element, the Droppable element and the + # Event object. You can extract additional information about the + # drop - like if the Ctrl or Shift keys were pressed - from the Event object. # # <tt>:with</tt>:: A JavaScript expression specifying the parameters for the XMLHttpRequest. # Any expressions should return a valid URL query string. |