Changeset 1131

Show
Ignore:
Timestamp:
12/24/07 04:33:13 (10 months ago)
Author:
wayneesegu..@gmail.com
Message:

Expanded on select_field description text.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/merb_helpers/lib/merb_helpers/form_helpers.rb

    r1108 r1131  
    344344      # +include_blank+:: Adds an additional blank option tag with no value. 
    345345      # +collection+:: The collection for the select options 
    346       # +text_method+:: Method to determine text of an option (as a symbol). 
     346      # +text_method+:: Method to determine text of an option (as a symbol). Ex: :text_method => :name  will call .name on your record object for what text to display. 
    347347      # +value_method+:: Method to determine value of an option (as a symbol). 
    348348      def select_field(attrs = {})