diff options
author | rick <rick@spacemonkey.local> | 2008-05-05 23:19:21 -0700 |
---|---|---|
committer | rick <rick@spacemonkey.local> | 2008-05-05 23:19:21 -0700 |
commit | 0052938ac5b8894b27fdb9f27b1ed39f0a9ea176 (patch) | |
tree | f714643a4043d9fb73b39ec2a114d18f5deeffdd /actionpack/lib/action_view/helpers/form_options_helper.rb | |
parent | eacb5cf0cab6447db78085c8bda6c94dd329ce6b (diff) | |
parent | 3cffe92ff066c2b35eef409547db93652c5cccfc (diff) | |
download | rails-0052938ac5b8894b27fdb9f27b1ed39f0a9ea176.tar.gz rails-0052938ac5b8894b27fdb9f27b1ed39f0a9ea176.tar.bz2 rails-0052938ac5b8894b27fdb9f27b1ed39f0a9ea176.zip |
Merge commit 'core/master'
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_options_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 5b026245da..bf65fe5574 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -93,8 +93,8 @@ module ActionView # This allows the user to submit a form page more than once with the expected results of creating multiple records. # In addition, this allows a single partial to be used to generate form inputs for both edit and create forms. # - # By default, post.person_id is the selected option. Specify :selected => value to use a different selection - # or :selected => nil to leave all options unselected. + # By default, <tt>post.person_id</tt> is the selected option. Specify <tt>:selected => value</tt> to use a different selection + # or <tt>:selected => nil</tt> to leave all options unselected. def select(object, method, choices, options = {}, html_options = {}) InstanceTag.new(object, method, self, nil, options.delete(:object)).to_select_tag(choices, options, html_options) end |