Skip to content
This repository
Browse code

revised font of constants in Action View

  • Loading branch information...
commit 8174d91273d7e844787b6b2b138567ed787d4a56 1 parent 401690f
Xavier Noria fxn authored
4 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -119,7 +119,7 @@ def select(object, method, choices, options = {}, html_options = {})
119 119 # end
120 120 # end
121 121 #
122   - # Sample usage (selecting the associated +Author+ for an instance of +Post+, <tt>@post</tt>):
  122 + # Sample usage (selecting the associated Author for an instance of +Post+, <tt>@post</tt>):
123 123 # collection_select(:post, :author_id, Author.find(:all), :id, :name_with_initial, {:prompt => true})
124 124 #
125 125 # If <tt>@post.author_id</tt> is already <tt>1</tt>, this would return:
@@ -172,7 +172,7 @@ def time_zone_select(object, method, priority_zones = nil, options = {}, html_op
172 172 # Accepts a container (hash, array, enumerable, your type) and returns a string of option tags. Given a container
173 173 # where the elements respond to first and last (such as a two-element array), the "lasts" serve as option values and
174 174 # the "firsts" as option text. Hashes are turned into this form automatically, so the keys become "firsts" and values
175   - # become lasts. If +selected+ is specified, the matching "last" or element will get the selected option-tag. +Selected+
  175 + # become lasts. If +selected+ is specified, the matching "last" or element will get the selected option-tag. +selected+
176 176 # may also be an array of values to be selected when using a multiple select.
177 177 #
178 178 # Examples (call, result):
6 actionpack/lib/action_view/helpers/scriptaculous_helper.rb
@@ -202,9 +202,9 @@ def draggable_element_js(element_id, options = {}) #:nodoc:
202 202 # :onDrop => "function(draggable_element, droppable_element, event) { alert('I like bananas') }"
203 203 #
204 204 # This callback gets three parameters:
205   - # The +Draggable+ element, the +Droppable+ element and the
206   - # +Event+ object. You can extract additional information about the
207   - # drop - like if the Ctrl or Shift keys were pressed - from the +Event+ object.
  205 + # The Draggable element, the Droppable element and the
  206 + # Event object. You can extract additional information about the
  207 + # drop - like if the Ctrl or Shift keys were pressed - from the Event object.
208 208 #
209 209 # <tt>:with</tt>:: A JavaScript expression specifying the parameters for the XMLHttpRequest.
210 210 # Any expressions should return a valid URL query string.

0 comments on commit 8174d91

Please sign in to comment.
Something went wrong with that request. Please try again.